Prerequisites We are in an adaptation project opened in a BAS instance.
When we hover a control in a fragment xml file the documentation tooltip contains a more information link at the bottom, which redirects to a wrong version of the UI5 framework documentation, the version used by the application itself should be used. Inside an adaptation project the UI5 application uses a version of the framework defined in the ui5.yaml under the ui5 node:
server:
customMiddleware:
...
- name: fiori-tools-proxy
afterMiddleware: fiori-tools-preview
configuration:
ignoreCertErrors: false # If set to true, certificate errors will be ignored. E.g. self-signed certificates will be accepted
backend:
- destination: UI8CLNT099
url: https://REQUIRED_FOR_VSCODE.example
path: /sap
ui5:
path:
- /resources
- /test-resources
url: https://sapui5preview-sapui5.dispatcher.int.sap.eu2.hana.ondemand.com:443
version: snapshot // <--- The documentation url must be ${url}/${version}
In the screenshot the more information link redirects to 1.71.82 version but the application uses snapshot version 1.149.0-SNAPSHOT.
I addressed the issue in this extension because it is used by the BAS IDE:
user: ~ $ find ~/.vscode -name "*sap*" 2>/dev/null
...
/home/user/.vscode/data/User/globalStorage/saposs.vscode-ui5-language-assistant
/home/user/.vscode/data/User/globalStorage/saposs.vscode-ui5-language-assistant/ui5-resources-cache/SAPUI5/1.71.82/sap.ui.unified.json
Prerequisites We are in an adaptation project opened in a BAS instance.
When we hover a control in a fragment xml file the documentation tooltip contains a
more informationlink at the bottom, which redirects to a wrong version of the UI5 framework documentation, the version used by the application itself should be used. Inside an adaptation project the UI5 application uses a version of the framework defined in the ui5.yaml under the ui5 node:In the screenshot the more information link redirects to 1.71.82 version but the application uses snapshot version 1.149.0-SNAPSHOT.
I addressed the issue in this extension because it is used by the BAS IDE: