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 #14

Open
Tobbe opened this issue Oct 31, 2024 · 0 comments
Open

Install extension to restart TS server #14

Tobbe opened this issue Oct 31, 2024 · 0 comments

Comments

@Tobbe
Copy link
Member

Tobbe commented Oct 31, 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

(This issue was copied from redwoodjs/setup-rw-shad#1)

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