VS Code extension - SAP/Open UI5 reference view in a side bar view.
Video about features:
Since version 1.2.1 there is a new config field for the API URL version - please migrate your setting from the old, deprecated one.
- show/hide desciptions
- filtering options (show only members like properties, aggregations)
- full API (with inherited members)
- favorites list for quick access
Search & install the extension via VSCode Extensions.
After installation a new icon is available:
API side bar can be also opened using command:
-
if an UI5 object can be matched with the search input, it will be displayed immadiately, otherwise the hitlist is showed
-
search can be done with or without namespace
-
clicking on the object name or method, property etc. will open the original UI5 API page in your default browser
-
API can be filtered, for example typing "hbox add" will show only members matching "add". Filtering works also if the hitlist if firstly displayed.
-
displaying specific members: ?p will display only properties, ?c - constructor, ?e - events, ?m - methods, ?a - aggregations; for example hbox ?m will immediately display Hbox with methods only. m.butt ?p will show hitlist first and after selecting an object members filter will be applied, showing only properties
-
members can be also filtered by a search term, for example to display only methods with "add", type "hbox ?madd"
-
when an object's API is already displayed, putting only ?c, ?m etc. in the search input will apply fitlering on this object. It might be also narrowed to searched string, for example "get..." methods - ?mget etc.
They can be used to have frequently used objects always available. Favorites are stored in the configuration (per workspace) and they can be maintained there or using the icons available on the list and in the object API.
API can be also opened for controls in XML views; use the context menu option on a selected control:
This extension contributes the following settings:
apiURL
: the path to SAPUI5/OpenUI5 version; default is https://openui5.hana.ondemand.com/1.120.15
Please remember to reload VS Code after changing this setting!favorites
: the list of favorites UI5 objects; they can be added via configuration or using the icons in the panelhitlistSize
: maximum number of objects shown in the hitlist if multiple objects matches the search query; if more objects is found, then the hitlist is not displayed and you are asked to narrow your search
See CHANGELOG.md
This plugin is licensed under the MIT license.
Feel free to contact me:
- [email protected]
- jacekw.dev
- Bluesky (https://jacekwoz.bsky.social)
- LinkedIn (https://www.linkedin.com/in/jacek-wznk)