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.path
markdown.styles
json.schemas
typescript.tsdk
php.validate.executablePath
Hi,
I was just reading the latest updates and it says one can install
typescript@nextglobally and then settypescript.tsdkso 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:
Now the setting needs to be per-person because I highly doubt my teammates have
tscinstalled inC:\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