I used to get auto-complete and intellisence hints earlier but now I don't get auto-complete, nor do I get squiggly red line for errors. What do I do? Please help. I already spent 2 hours searching on google but can't find answer.
Others are getting proper suggestions like above. I ain't getting that. Below is my VsCode editor.
CodePudding user response:
After surfing a lot in settings of VsCode, I finally figured out two things that might be causing this problem. Solved both of them and now the auto-complete is working fine for my nodeJs files in VsCode.
- Install ESLint and JavaScript (ES6) code snippets extensions for providing intellisense for js code.
- Enable auto-complete if you disabled it by mistake. This should fix the problem. settings > search javascript/typescript > search auto-complete in the extension settings and turn it on.