-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Visual Studio Code - IntelliSense for JS and TS not working properly with NextJs. #32045
Comments
Can you try using |
@timneutkens I have checked the canary. There is some improvement but it tries to use wrong module path. example: and still no Link and Image in suggestions |
Fixes #32045 doing `export { default } from 'module'` has some unexpected results for autocompletion in TypeScript, this PR changes root definitions to have a named default export where needed. ## Bug - [x] Related issues linked using `fixes #number`
Fixes #32045 doing `export { default } from 'module'` has some unexpected results for autocompletion in TypeScript, this PR changes root definitions to have a named default export where needed. ## Bug - [x] Related issues linked using `fixes #number`
Great job. thx for fixing this. |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Fixes vercel#32045 doing `export { default } from 'module'` has some unexpected results for autocompletion in TypeScript, this PR changes root definitions to have a named default export where needed. ## Bug - [x] Related issues linked using `fixes #number`
What version of Next.js are you using?
12.0.4
What version of Node.js are you using?
16.xx
What browser are you using?
Chrome
What operating system are you using?
Windows/MacOS
How are you deploying your application?
not important
Describe the Bug
VSC doesn't see Next components. I tried with clean install for ts and js project.
For this components:
Image, Head, Link etc.
there is no auto-completion/suggestions that should come from next/image , next/head and next/link.
Expected Behavior
nice auto completion and auto import.
To Reproduce
The text was updated successfully, but these errors were encountered: