
Here, with c-view-source, VS Code completes its source attribute. Namespace Completion in HTML Attributes and TagsĬode completion is also provided for HTML tags and attributes for components in the lightning and c namespaces. Here is an example of code completion for including the Apex function getContactList in the decorator. See Reactive Properties and Use the Wire Service to Get Data in the Lightning Web Components Developer Guide for more information. VS Code completes the Lightning Web Components framework’s reactive properties and wire service. See the lightning/ui*Api Wire Adapters and Functions in the Lighting Web Components Developer Guide for more information. VS Code also completes Lightning API resources, such as lightning/uiRecordApi and lightning/uiObjectInfoApi. Here’s what code completion looks like for an example of code completion for an Apex controller. In this example, VS Code displays the possible static resource names to choose from when completing the import statement. learn more about modules, see Modules in the Lightning Web Components Developer Guide for more information.The Lightning Web Components Extension provides code completion for the following scoped modules: Lightning components access Salesforce values via scoped modules.

The extension provides code completion for the following Lightning Web Components resources. The Lightning Web Components Extension builds on VS Code’s language features for HTML and JavaScript, including syntax highlighting, bracket matching, and language-specific code completions with IntelliSense. Take advantage of the following Lightning Web Components Extension for VS Code features: The Lightning Web Components Extension for VS Code leverages the editor’s built-in code navigation and language features so that you can efficiently build Lightning web components. Supported and Unsupported Modules, Components, and Features.

