TS Switch is a small VS Code extension for recovering TypeScript language features from the status bar.
Use it when IntelliSense, type checking, imports, hover, or TS/JS navigation gets stuck and you would normally run TypeScript recovery commands from the command palette.
- Restart the VS Code TypeScript server from the status bar
- Reload TypeScript project configurations as part of the restart flow
- Optional auto recovery for config changes, error spikes, and an unresponsive TS server
- Restart history, diagnostics, and context details in the TS Switch output channel
- Status bar tooltip with TS SDK, tsconfig, diagnostics, auto recovery, and last restart information
- Open a TypeScript, TSX, JavaScript, or JSX workspace.
- Click the TS Switch status bar item.
- Choose
Restart TS Server.
Restart TS Server runs both:
typescript.restartTsServertypescript.reloadProjects
Restart TS Server: restart the TS server and reload project configurationsOpen Settings: open TS Switch settingsOpen Output: show restart history and diagnostics in the TS Switch output channel
tsSwitch.autoRecovery: automatically run the integrated recovery flow after config changes, diagnostic error spikes, or an unresponsive TS server.tsSwitch.reloadWindowAfterRestart: also reload the VS Code window after the restart and project reload flow.
TS Switch: Restart TypeScript ServerTS Switch: Show Menu
TS Ready: readyTS Ready [Recovery]: auto recovery is enabledTS Restarting: manual restart is runningTS Recovery: auto recovery is runningTS Restarted: restart completedTS Error: restart failed
TS Switch does not run npm, pnpm, yarn, or development server scripts. It only uses VS Code's built-in TypeScript commands.