Working with JavaScript in Visual Studio Code | IntelliSense vscode
ThistopicdescribessomeoftheadvancedJavaScriptfeaturessupportedbyVisualStudioCode.UsingtheTypeScriptlanguageservice,VSCodecanprovidesmartcompletions(IntelliSense)aswellastypecheckingforJavaScript.IntelliSenseVisualStudioCodesJavaScriptIntelliSense[1]providesintelligentcodecompletion,parameterinfo,referencessearch,andmanyotheradvancedlanguagefeatures.OurJavaScriptIntelliSenseispoweredbytheJavaScriptlanguageservice[2]developedbytheTypeScriptteam.WhileIntelliSenseshouldjustworkformostJavaScriptp...
This topic describes some of the advanced JavaScript features supported by Visual Studio Code. Using the TypeScript language service, VS Code can provide smart completions (IntelliSense) as well as type checking for JavaScript.
IntelliSenseVisual Studio Codes JavaScript IntelliSense[1] provides intelligent code completion, parameter info, references search, and many other advanced language features. Our JavaScript IntelliSense is powered by the JavaScript language service[2] developed by the TypeScript team. While IntelliSense should just work for most JavaScript projects without any configuration, you can make IntelliSense even more useful with JSDoc[3] or by configuring a jsconfig.json project.
For the details of how JavaScript IntelliSense works, including being based on type inference, JSDoc annotations, TypeScript declarations, and mixing JavaScript and TypeScript projects, see the JavaScript language service documentation[4].
W...