Story
As a developer I want to be informed if a component declared in a bundle has no implementation.
Basic elements
- Open manifest.json file or when editing the component
name or impl fields
- extension checks if impl can be found in module's layer file (defaults to
module.js, otherwise lookup in "layer" prop of the manifest)
- if no matching entry found -> add problem diagnostics entry
- if matching entry found ->
- check if file with name given in layer file is found
- if no matching file found -> add problem diagnostic entry
(see https://code.visualstudio.com/api/language-extensions/programmatic-language-features#provide-diagnostics)
Add-ons and open ends
- Provide code actions to help solve errors/warnings
Story
As a developer I want to be informed if a component declared in a bundle has no implementation.
Basic elements
nameorimplfieldsmodule.js, otherwise lookup in"layer"prop of the manifest)(see https://code.visualstudio.com/api/language-extensions/programmatic-language-features#provide-diagnostics)
Add-ons and open ends