Editor support

In a UI5 project the editor has to know the framework's control metadata: which aggregations a control takes, which properties and events it has, and which controller method an XML event handler names. SAP's UI5 Language Assistant reads that metadata for the XML view; the controller code beside it is the other half of the same project.

Overview

SAP SHIPS

SAP publishes UI5 Language Assistant for VS Code, driven by SAPUI5 metadata it downloads lazily. In XML views and fragments it completes classes, aggregations, properties, events and enum values filtered by the parent aggregation's type, validates unknown tags and attributes, duplicate IDs, aggregation cardinality and binding info, shows hover tooltips, navigates from a view to the controller files it references and formats views and fragments with prettier; in manifest.json it completes and validates.

Not covered: At XML views and the manifest, for SAP's own controls: its README states that custom controls are not supported and get no completion, its validations and their severity are fixed and cannot be configured, and it lists no completion inside controller JavaScript or TypeScript.

THE COMMUNITY ADDS

ui5plugin, the SAPUI5 Extension for VS Code, covers the controller side too: completion in XML views, JavaScript, TypeScript and manifest.json, definitions from an XML event handler to its controller method, CodeLens, a rename provider and i18n export, with diagnostics from ui5plugin-linter.

Artifacts3

3 of 3 artifacts
ArtifactSignals
IDE extensions1
vscode-ui5-language-assistantVS Code extension for SAPUI5 and OpenUI5 XML views and manifest
Signals
none
Services2
SAP Build CodeDevelopment environment on BTP for UI5, Fiori, mobile and CAP
Signals
none
SAP Web IDE Full-StackIDE service on SAP BTP for SAPUI5, Fiori and full-stack apps
Signals
none

Details