I am experiencing issues when using "V.S. Code". All of my settings were deleted (or that is the way it seems). I reinstalled V.S. Code, but now I cannot get auto imports to work.
For example:
When I write useEffect
, I expect VS Code to suggest an import for it from the node modules, however, its not suggesting it.
How can this issue be fixed?
CodePudding user response:
Okay, I found the answer. The problem was that by default the extension "TypeScript and JavaScript Language Features" was disabled. After enabling now everything work
https://i.stack.imgur.com/mGp4H.png
CodePudding user response:
Use language extension if vs code as Typescript React Js