Skip to content

Implementation Ideas

JDR edited this page Dec 30, 2020 · 10 revisions

These are some ideas for additional functions for this extension.

CodeLense (DONE)

VS Code extension point

  • Service interface name lenses, opening list of links if multiple, otherwise direct link
    • CodeLense 1: "12 services": Link above "providing" line
    • CodeLense 2: "5 other references": Link above "providing" line
    • CodeLense 3: "12 other services": Link above "provides" line
    • CodeLense 4: "5 references": Link above "provides" line

Find references (DONE)

VS Code extension point

  • For a service interface name (no matter if used in "providing" or "provides"), show all references to it. That means all "provides" and "providing" properties that use that interface name

Code completion (DONE)

VS Code extension point

  • List service interface names, when you type "providing"value.

Commands

VS Code extension point

  • Action "Create implementation" for a component with missing impl.

Custom views (DOING)

VS Code extension point

  • Bundle list browser
    • Display name and maybe version
    • Navigate to bundle on (double)click
    • Filter bundles list
    • Group by
      • Source: workspace, remote instance, ...
      • Product name: mup.upps, sdi

Unknown extension point (DONE)

  • Go to bundle: Input Field with suggest. Type "map-v" to get "map-view" suggested and jump to it.

Enable/disable manifest.json schema validation (DONE)

If you are stressed out by manifest.json schema support, you should be able to turn it off.

See this Stack Overflow question for an implementation idea.

Diagnostics

VS Code extension point

  • Report problem on missing impl file for a component.
    • Is it possible to identify impl file?

General

  • Load manifest.json from remote source (demos.xyz.de, vm1114.xyz.de).