Summary
When using the library-ts template, TypeScript commands are not listed in the Command Palette if the editor is currently focused on a *.marko file. This causes occasional issues when the TypeScript server needs to be restarted after changing type definitions in a *.marko file.
Screenshots
Command Palette from an index.marko file
Command Palette from a TypeScript file
Workarounds
- Switch to a
*.ts file, open the Command Palette to run any TypeScript-related command, then switch back to any *.marko file.
- If trying to use
TypeScript: Restart TS Server or TypeScript: Reload Project, use Developer: Reload Window instead.