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:
Write a VSCode extension that triggers await vscode.commands.executeCommand("typescript.restartTsServer");
Install the extension by running something like code --install-extension my-extension.name
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 therw-shad
script.Plan for this right now:
await vscode.commands.executeCommand("typescript.restartTsServer");
code --install-extension my-extension.name