Write Lighting Web Components

Write Lighting Web Components

Features Provided by the Lightning Web Components Extension

  • Notification of HTML and JavaScript file errors or compiler warnings

  • ESLint configuration for Lightning web components

    • Errors and warnings appear in JavaScript files
    • Hover over code to display warning messages
    • Click the displayed message for available code actions
  • Auto-completion for resources in JavaScript files

    • Static resources
    • Custom label imports
    • Lightning web components imports from the core lwc module
  • Auto-completion for resources in HTML files

    • Tags and attributes for standard lightning namespace Lightning web components
    • Tags and attributes for custom c namespace Lightning web components
    • Lightning web components directives in related HTML files
  • Help documentation when you hover over standard lightning namespace Lightning web components or attributes

  • Click navigation from HTML files to the main JavaScript file for custom c namespace Lightning web components and attributes