I'm new to TS. I'm seeing instructions to use the command panel to"Restart TS server".
But this option is not there.
Is this a particular extension?
.js
, .ts
or .tsx
file
"typescript.tsserver.useSyntaxServer": "always"
.
check if you have randomly disabled typescript and javascript language features
builtin extension.
Switch to extensions tab and search with @builtin
.
Find it and Enable it!
I had been working on merging 7 React apps into Turborepo monorepos, and was troubled by the fact that tsconfig/.eslintrc
could not reflect in real-time when I made changes to them, so I built this small extension to monitor those config files and restart TypeScript / ESLint servers accordingly.
Link to the VS Code extension:
Restart TypeScript or ESLint server automatically if monitored configuration or files changed.
Go to Settings on your VSCode (Botton left cog icon). Then search for tss and use the TypeScript tab as depicted on the screenshot. Then, look for the highlighted section as per screenshot.