An extension for VS Code that adds code snippets for all Forge Web Components, including variants and common usages.
Type part of a snippet (ex. <forge-scaffold), press enter, and the snippet unfolds.
- Copy the extension into your
<user home>/.vscode/extensionsfolder and restart Code.
OR install from .vsix file:
- Open VS Code
- Press
ctrl+shift+p(cmd+shift+pon mac) to open the command palette - Type
"vsix"and selectExtensions: Install from VSIX... - Navigate to the location where you downloaded the
.vsixfile and select it
- Make necessary changes to snippets
- Press
F5to open dev instance of VS Code - Test snippets by creating a new file and setting language mode
- Verify that your snippets are proposed on intellisense.
- Update
versionpropertypackage.json - Run
npm run pack .vsixfile will be placed at the root of the project