Enjoy to write Lightning web Component. This extension helps developers to write common structures of Lightning Web Component templates, js & xml files. Developers can write the Lightning Web Component in very easy in short time.
Installation Steps
Please click on "Install" button seen in the "LWC Coder" extension. If it's not installed please run this command from the terminal:
code --install-extension santanupal.lwccoder
Features
Just write k2 or k2-lwc in your html, js & xml files and you will get all the standard template options for Lightning Web Component.
Triggering Points [k2-lwc]
Triggering Point for HTML
Triggering Point
Function
k2-lwc
get all major standard LWC templates like Card, Layout, Button, Map...
k2-lwc.slds
get all major SLDS libraries
Triggering Point for JS
Triggering Point
Function
k2-lwc.import
Import any Salesforce predefined module like ApexClass,custom label....
k2-lwc.get
define get method
k2-lwc.set
define set method
k2-lwc.wire
define Apex Wire Service
k2-lwc.imperative
define Imperative Service
k2-lwc.slds
define SLDS library
k2-lwc.array
define array functions
k2-lwc.custom-event
define custom event communication codebase
k2-lwc.app-event
define pub-sub communication codebase
k2-lwc.navigation
define navigation code snippets
k2-lwc.toast
define toast message code snippets
k2-lwc.query
define querySelector methods
k2-lwc.eslint
define eslint rules
k2-lwc.console
define console statements
k2-lwc.record
get current Record Id
k2-lwc.object
get current Object API Name
k2-lwc.for
define for/ for-each loop syntax
k2-lwc.sample
get Sample Codebase just like createRecord by uiRecordApi...