examples
examples copied to clipboard
Add support for running `TypeScript: Reload Project` in `*.marko` files
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
*.tsfile, open the Command Palette to run any TypeScript-related command, then switch back to any*.markofile. - If trying to use
TypeScript: Restart TS ServerorTypeScript: Reload Project, useDeveloper: Reload Windowinstead.