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

Install extension to restart TS server #1

Open
Tobbe opened this issue Jun 23, 2024 · 0 comments
Open

Install extension to restart TS server #1

Tobbe opened this issue Jun 23, 2024 · 0 comments

Comments

@Tobbe
Copy link
Member

Tobbe commented Jun 23, 2024

VS code seems to not pick up on some imports, like for src/utils/cn when adding new components.
Restarting the TS server seems to help.
It'd be cool if we could do that automatically after running the rw-shad script.

Plan for this right now:

  1. Write a VSCode extension that triggers await vscode.commands.executeCommand("typescript.restartTsServer");
  2. Install the extension by running something like code --install-extension my-extension.name
@Tobbe Tobbe changed the title Restart TS server Install extension to restart TS server Jun 23, 2024
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