examples icon indicating copy to clipboard operation
examples copied to clipboard

Add support for running `TypeScript: Reload Project` in `*.marko` files

Open opes opened this issue 1 year ago • 0 comments

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

image

Command Palette from a TypeScript file

image

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.

opes avatar Apr 11 '24 20:04 opes