@ui5-language-assistant/language-server
TypeScript icon, indicating that this package has built-in type declarations

3.3.1 • Public • Published

npm (scoped)

@ui5-language-assistant/language-server

UI5 Language Server

Current Features:

Completions in XML Views

  • In XML tags names:
    • UI5 Classes names filtered by aggregation's type.
    • UI5 Aggregations names filtered by the parent UI5 Class metadata.
  • In XML Attributes keys:
    • Events, Properties and Associations filtered by the parent UI5 Class metadata.
  • In XML Attributes values:
    • UI5 Enum Values filtered by the parent UI5 Class metadata.
  • In xmlns attributes keys: UI5 Namespaces suggested after the xmlns colon.
  • In xmlns attributes values: UI5 Namespaces

Installation

With npm:

  • npm install @ui5-language-assistant/language-server

With Yarn

  • yarn add @ui5-language-assistant/language-server

Usage

This package does not export "regular" programmatic APIS as it is meant to be started in a separate process. Instead a SERVER_PATH const is exported which points the the server's "main" module.

This SERVER_PATH can be used by other tools to spawn the @ui5-language-assistant/language-server process.

  • See extension.ts in the UI5 Language Support VSCode extension.

Support

Please open issues on github.

Contributing

See CONTRIBUTING.md.

Licensing

Copyright 2022 SAP SE. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

Package Sidebar

Install

npm i @ui5-language-assistant/language-server

Weekly Downloads

1

Version

3.3.1

License

Apache-2.0

Unpacked Size

265 kB

Total Files

71

Last publish

Collaborators

  • kranthie.sap
  • oss_rima_bot
  • shahars