Visual Studio Code extension (market place link) that discovers custom element definitions in your workspace and makes them available to the html-language-service of vscode.
Looks for customElements
field in all package.json files it discovers,
but can also be configured to also look for costum-elements.json
files directly.
Supports the following formats:
- vscode-custom-data
- custom-elements.json (is auto-converted to vscode format)
Adds a Custom Elements View Container to VSCode that gives an overview of the definitions that have been discovered.
Options: "auto", "manual" (default)
Can be toggled using search icon in top of view.
"auto"
: Scans project automatically. (might become slow on large projects)"manual"
: Scans project only when you hit refresh button at the top of the panel. Stores discoveredcustom-element
files in workspace settings.