You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Just wanted to thank you for the LSP.
I have testing various servers and found that to get the Javascript language server from source graph to recognise javascript files i need to change the settings to.
Hi,
Just wanted to thank you for the LSP.
I have testing various servers and found that to get the Javascript language server from source graph to recognise javascript files i need to change the settings to.
{ "clients": { "javascript-typescript-langserver": { "enabled": true, "command": ["javascript-typescript-stdio"], "languages": [{ "scopes": ["source.js", "source.jsx"], "syntaxes": ["Packages/Babel/JavaScript (Babel).sublime-syntax", "Packages/JavaScript/JavaScript.sublime-syntax"], "languageId": "javascript" }, { "scopes": ["source.ts", "source.tsx"], "syntaxes": ["Packages/TypeScript-TmLanguage/TypeScript.tmLanguage"], "languageId": "typescript" } ] } }, "diagnostics_gutter_marker": "circle", "log_debug": true, "log_stderr": true, "log_payloads": true, "show_view_status": true }
The difference being that the Syntaxes was originally set to "Javascript" which in my case wasn't enough for LSP to pick *.js files.
The text was updated successfully, but these errors were encountered: