Ashwin Kumar Uppala
Ashwin Kumar Uppala

Reputation: 31

javascript Intellisense works on <script> of html but not in .js file

Using Visual Studio Code, intellisense is not working correctly in a .js file. VSCODE version 1.56.2 (user setup)

No intellisense in .js file

The intellisense does work correctly in a <script> tag within a .html file.

Intellisense is working in script tag of html

I tried the steps in Visual Studio Code Intellisense not working for Javascript but it's not working either.

Upvotes: 1

Views: 1592

Answers (3)

Ashwin Kumar Uppala
Ashwin Kumar Uppala

Reputation: 31

Thanks for the help but I figured it out. It was an in-built pre-disabled extension for JavaScript and typescript

Extension

Upvotes: 2

TheRakeshPurohit
TheRakeshPurohit

Reputation: 551

try the following extension Visual Studio IntelliCode

and restart your VSCode and System

Upvotes: 0

danielsantoso
danielsantoso

Reputation: 9

try to install this extension in your VS Code :

enter image description here

Upvotes: -1

Related Questions