-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Open
Labels
configVS Code configuration, settingsVS Code configuration, settingsfeature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
Hi,
I was just reading the latest updates and it says one can install typescript@next globally and then set typescript.tsdk so VS Code can use the appropriate version/installation. In a team environment, I'd like to put that setting in our project, something like:
.vscode/settings.json:
{
"typescript.tsdk": "%APPDATA%/npm/node_modules/typescript/lib"
}The problem is restarting VS Code results in an error:
The path c:\Projects\Derp\%APPDATA%\npm\node_modules\typescript\lib doesn't point to a valid tsserver install. TypeScript language features will be disabled.
Now the setting needs to be per-person because I highly doubt my teammates have tsc installed in C:\Users\Olson\AppData\Roaming\npm\node_modules\typescript\lib 😉
Could we get environment variables evaluated on that and all other settings that involve paths?
I haven't tested other paths, but I see these in the Default Settings:
git.pathmarkdown.stylesjson.schemastypescript.tsdkphp.validate.executablePath
outcoldman, nozzlegear, mzyy94, Velocet, richardcox13 and 717 morepavel-zhigulin, manojbaishya, romdarom, Casara, robertwt7 and 9 morepavel-zhigulin, romdarom, Casara, ahbanavi, sadeghbarati and 4 moremiaojiuchen, Enteleform, qiansen1386, rben01, netishix and 81 moreyekanchi, ryanpcmcquen, veteran29, BradenM, stefanKuijers and 41 moreodograph, FlavioAmurrioCS, brainwasher, cwboyd, 0biWanKenobi and 27 more
Metadata
Metadata
Assignees
Labels
configVS Code configuration, settingsVS Code configuration, settingsfeature-requestRequest for new features or functionalityRequest for new features or functionality