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 auto import #129

Open
minhquan1313 opened this issue Feb 23, 2024 · 1 comment
Open

vscode auto import #129

minhquan1313 opened this issue Feb 23, 2024 · 1 comment

Comments

@minhquan1313
Copy link

Usually when I type out some hook or function, I will get suggestion. Like this:
image
But when using this, I got no suggestion (tried ctrl+space || command + esc hotkey):
image
I guess there is some problem with your typescript definition. But mannually import works just fine, but I prefer the auto flow(action on save feature in vscode).

@Wxh16144
Copy link

It looks like an editor or tsconfig configuration issue. I initialized a project with Vite and did not encounter the problem you described.

image

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

2 participants