Skip to content

Commit

Permalink
Update README.md (#577)
Browse files Browse the repository at this point in the history
* Update README.md

Add section: Enabling offline work

* Update README.md

updated formatting
When configuring local web server, make sure it responds to the exact UI5 version defined in manifest.json e.g `<your.local.web.server>/1.111.0`
**Note**: Once online, UI5 Language Assistant also caches required resources for offline usage and performance optimization.

* fix: format

---------

Co-authored-by: Maruf Rasully <maruf.rasully@sap.com>
  • Loading branch information
MN-public and marufrasully committed Mar 22, 2023
1 parent 5a28f9f commit d309013
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/vscode-ui5-language-assistant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,13 @@ For SAPUI5 XML views, this means:`*.view.xml` or `*.fragment.xml` files.
Note that the extension **lazily** downloads the SAPUI5 metadata needed for its features.
This means that there may be a delay between starting VS Code and having the relevant features available.

### Enabling offline work

You can set up a local web server to host one or more supported versions of SAP UI5 SDK and register it in the user/workspace setting `"UI5LanguageAssistant.SAPUI5WebServer"`. This overrides the public CDN of SAP UI5 SDK in the extension and enables offline work with the apps having the matching hosted `"minUI5Version"` in `manifest.json`.
When configuring local web server, make sure it responds to the exact UI5 version defined in manifest.json e.g `<your.local.web.server>/1.111.0`

**Note**: Once online, UI5 Language Assistant also caches required resources for offline usage and performance optimization.

### Limitations

#### UI5 version and framework
Expand Down

0 comments on commit d309013

Please sign in to comment.