Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Salesforce Lightning Component SnippetsNew to Visual Studio Code? Get it now.
Salesforce Lightning Component Snippets

Salesforce Lightning Component Snippets

Teralco-Group

|
40,706 installs
| (7) | Free
Salesforce Lightning component snippets
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

This extension contains code snippets for Lightning Components.

Note

There will be an update adding JS, Apex and SLDS snippets. Actually, just 'CMP' snippets are available.

Snippets

List of valid prefixes

Trigger Type Example
l: Lightning l:pill, l:layoutItem, l:verticalNavigationSection...
a: Aura a:if, a:iteration, a:attribute...
i: Interface i:hasRecordId, i:appHostable, i:hasSObjectName...
h: Handler h:init
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft