New tsdk flow for 19 (#19602)

* Allow using workspace typescript.tsdk setting

Allows users to opt into using their workspace typescript.tsdk setting to specify the path to their typescript install.

Also, fixes a bug when the global tsdk setting points to the workspace version of typescript, our ts selector interface can get confused on which version is currently active. The fix adds a check using the local storage value to show the correct active version.

* Flip vscode and workspace pick order

* Use shared logic when workspace tsdk setting is not used
This commit is contained in:
Matt Bierner
2017-01-30 16:33:20 -08:00
committed by GitHub
parent ef499350c1
commit 35e2132409
2 changed files with 103 additions and 123 deletions

View File

@@ -88,8 +88,7 @@
"null"
],
"default": null,
"description": "%typescript.tsdk.desc%",
"isExecutable": true
"description": "%typescript.tsdk.desc%"
},
"typescript.disableAutomaticTypeAcquisition": {
"type": "boolean",