@ui5-language-assistant/xml-views-completion

Auto-Complete Logic for UI5 XML-Views

Usage no npm install needed!

<script type="module">
  import ui5LanguageAssistantXmlViewsCompletion from 'https://cdn.skypack.dev/@ui5-language-assistant/xml-views-completion';
</script>

README

npm (scoped)

@ui5-language-assistant/xml-views-completion

Logic for UI5 XML views content assist implemented by combining:

Supported Content Assist scenarios:

In XML tag names:

  • UI5 Classes.
    • Both under default (implicit) aggregations and explicit aggregations.
    • UI5 Aggregations.
      • Suggested according to the parent tag's matching UI5 class name.

In XML attribute names:

  • UI5 properties, events and associations.
    • Both direct and inherited.

In XML xmlns attributes keys:

  • suggestions in the xmlns prefix part.

Installation

With npm:

  • npm install @ui5-language-assistant/xml-views-completion

With Yarn:

  • yarn add @ui5-language-assistant/xml-views-completion

Usage

This package only exposes programmatic APIs, import the package and use the exported APIs defined in api.d.ts.

Support

Please open issues on github.

Contributing

See CONTRIBUTING.md.