Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
opes opened this issue Apr 11, 2024 · 0 comments
Open

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

opes opened this issue Apr 11, 2024 · 0 comments

Comments

@opes
Copy link

opes commented Apr 11, 2024

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant