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
Do you want to use TypeScript/SCSS/Less/..? [See the docs](/docs/README.md#language-specific-setup).
14
15
@@ -50,16 +51,15 @@ More docs and troubleshooting: [See here](/docs/README.md).
50
51
51
52
Path to the node executable you would like to use to run the language server.
52
53
This is useful when you depend on native modules such as node-sass as without
53
-
this they will run in the context of vscode, meaning v8 version mismatch is likely.
54
+
this they will run in the context of vscode, meaning node version mismatch is likely.
54
55
55
56
##### `svelte.language-server.ls-path`
56
57
57
-
Path to the langauge server file (either a relative path from the workspace root or an absolute path).
58
-
Can be used to use a custom variant of the language server.
58
+
You normally don't set this. Path to the language server executable. If you installed the \"svelte-language-server\" npm package, it's within there at \"bin/server.js\". Path can be either relative to your workspace root or absolute. Set this only if you want to use a custom version of the language server.
59
59
60
60
##### `svelte.language-server.port`
61
61
62
-
At which port to spawn the language server.
62
+
You normally don't set this. At which port to spawn the language server.
63
63
Can be used for attaching to the process for debugging / profiling.
64
64
If you experience crashes due to "port already in use", try setting the port.
Copy file name to clipboardExpand all lines: packages/svelte-vscode/package.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -49,17 +49,17 @@
49
49
"svelte.language-server.runtime": {
50
50
"type": "string",
51
51
"title": "Language Server Runtime",
52
-
"description": "Path to the node executable to use to spawn the language server"
52
+
"description": "- You normally don't need this - Path to the node executable to use to spawn the language server. This is useful when you depend on native modules such as node-sass as without this they will run in the context of vscode, meaning node version mismatch is likely."
53
53
},
54
54
"svelte.language-server.ls-path": {
55
55
"type": "string",
56
56
"title": "Language Server Path",
57
-
"description": "Path to the langauge server file (either a relative path from the workspace root or an absolute path). Can be used to use a custom variant of the language server."
57
+
"description": "- You normally don't set this - Path to the language server executable. If you installed the \"svelte-language-server\" npm package, it's within there at \"bin/server.js\". Path can be either relative to your workspace root or absolute. Set this only if you want to use a custom version of the language server."
58
58
},
59
59
"svelte.language-server.port": {
60
60
"type": "number",
61
61
"title": "Language Server Port",
62
-
"description": "At which port to spawn the language server. Can be used for attaching to the process for debugging / profiling. If you experience crashes due to \"port already in use\", try setting the port. -1 = default port is used.",
62
+
"description": "- You normally don't set this - At which port to spawn the language server. Can be used for attaching to the process for debugging / profiling. If you experience crashes due to \"port already in use\", try setting the port. -1 = default port is used.",
0 commit comments