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

vscode intellisense becoes super slow in remix.run #1172

Open
khanakia opened this issue May 9, 2024 · 4 comments
Open

vscode intellisense becoes super slow in remix.run #1172

khanakia opened this issue May 9, 2024 · 4 comments
Assignees

Comments

@khanakia
Copy link

khanakia commented May 9, 2024

I am using remix.run and the IntelliSense becomes super slow the moment i install the heroicons packages

i have created a very basic test repo https://github.com/khanakia/testremix

yarn

NOTE: the moment I uninstall the "@heroicons/react": "^2.1.3" package vscode autocomplete becomes fast again

Screen.Recording.2024-05-09.at.5.48.44.PM.mov
@jeancastellotti
Copy link

Hi. The same happened to me with an Adonis project with Inertia and React. As soon as I installed it, vscode intellisense became very slow.

@thecrypticace thecrypticace self-assigned this Jun 7, 2024
@thecrypticace
Copy link
Contributor

Looks like, possibly because there's a large number of icons that are individually importable (and each have their own .d.ts file) TypeScript's language server is stuck doing lots of work — including synchronous I/O:

Screenshot 2024-06-12 at 16 28 10

It's also doing duplicate work because we have multiple exports keys with different paths that point to the same source files — which we added for backwards compatibility.

@asevims
Copy link

asevims commented Aug 1, 2024

+1

@soulr344
Copy link

Same in a nextjs project. Tried zed as well and its super slow. Had to manually remove packages one by one to narrow it down to heroicons being the issue.

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

5 participants