I can not see the Auto Complete or Intellisense without Import React
Unanswered
Scottish Terrier posted this in #help-forum
Scottish TerrierOP
Hello,
I have been dealing with this issue for a while now.
If i do not put " import React from 'react' " at the top, i can not see the auto completes / intellisense of the props.
I am sending the pictures.
Is this releated to the recent bug with TypeScript? I used to use these kind of stuff even without the TypeScript but now i can not literally.
I can not even import something from somewhere.
Can anyone help please?
Thank you.
I have been dealing with this issue for a while now.
If i do not put " import React from 'react' " at the top, i can not see the auto completes / intellisense of the props.
I am sending the pictures.
Is this releated to the recent bug with TypeScript? I used to use these kind of stuff even without the TypeScript but now i can not literally.
I can not even import something from somewhere.
Can anyone help please?
Thank you.
4 Replies
it can be a lot of things
- you can try downgrading typescript
- maybe missing @types/react as dev dependency
- maybe missing something on tsconfig.json file
- you can try reinstalling the ES7 react extension or maybe reinstall vscode
- maybe some config on vscode
I would start a new create next app to see if the behaviour continues, if it continues, then it is extension or vscode config
- you can try downgrading typescript
- maybe missing @types/react as dev dependency
- maybe missing something on tsconfig.json file
- you can try reinstalling the ES7 react extension or maybe reinstall vscode
- maybe some config on vscode
I would start a new create next app to see if the behaviour continues, if it continues, then it is extension or vscode config
@chisto it can be a lot of things
- you can try downgrading typescript
- maybe missing @types/react as dev dependency
- maybe missing something on tsconfig.json file
- you can try reinstalling the ES7 react extension or maybe reinstall vscode
- maybe some config on vscode
I would start a new create next app to see if the behaviour continues, if it continues, then it is extension or vscode config
Scottish TerrierOP
I literally created 10 next js apps just to test it
It is still the same
I created a react app. A simple, pure react app. It is the same at there too. It is not working whatever i do.