mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
Add custom Node option to run TS Server (#191019)
* Add config for running tsserver on custom node * log when custom node install is used * create node version manager * get node path from node version manager everywhere * modify prompt * fix useIpc * use spawn for custom node and set windowsHide * detect node * link memory setting to node setting
This commit is contained in:
committed by
GitHub
parent
4f6f33e491
commit
efc1b30976
@@ -21,7 +21,8 @@
|
||||
"restrictedConfigurations": [
|
||||
"typescript.tsdk",
|
||||
"typescript.tsserver.pluginPaths",
|
||||
"typescript.npm"
|
||||
"typescript.npm",
|
||||
"typescript.tsserver.nodePath"
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -1132,7 +1133,7 @@
|
||||
"typescript.tsserver.maxTsServerMemory": {
|
||||
"type": "number",
|
||||
"default": 3072,
|
||||
"description": "%configuration.tsserver.maxTsServerMemory%",
|
||||
"markdownDescription": "%configuration.tsserver.maxTsServerMemory%",
|
||||
"scope": "window"
|
||||
},
|
||||
"typescript.tsserver.experimental.enableProjectDiagnostics": {
|
||||
@@ -1251,6 +1252,11 @@
|
||||
"description": "%configuration.tsserver.web.projectWideIntellisense.suppressSemanticErrors%",
|
||||
"scope": "window"
|
||||
},
|
||||
"typescript.tsserver.nodePath": {
|
||||
"type": "string",
|
||||
"description": "%configuration.tsserver.nodePath%",
|
||||
"scope": "window"
|
||||
},
|
||||
"typescript.experimental.tsserver.web.typeAcquisition.enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
Reference in New Issue
Block a user