Skip to content

Add problem marker if component impl is not available in module.{js,ts} #13

@ctjdr

Description

@ctjdr

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

Metadata

Metadata

Assignees

Projects

Status
Idea

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions