on 12-15-2022 9:01 AM
Hello,
the syntax checker of the new BAS (vs.code) screams because of this issue:
<s:DetailPage xmlns:sap.m.semantic="sap.m.semantic" id="btnAbort">
<s:subHeader>
<Bar id="headerBar">
<!--<contentLeft> <Input id="WERKS" type="Text" placeholder="{i18n>WERKS}" value="{WERKS}" editable="false"/> </contentLeft>-->
<contentMiddle> <Label text="{i18n>title}" id="lblHeader"/> </contentMiddle>
<!--<contentRight>
<Button tooltip="{i18n>btn_scrap}" press="onScrap" icon="sap-icon://trash" class="ZsapMBtnIcon"/>
<Input id="LGORT" type="Text" placeholder="{i18n>LGORT}" value="{LGORT}" editable="false"/> </contentRight>-->
</Bar>
</s:subHeader>
The "Bar" class is under the "subHeader" aggregation and must match the "IBar" type.UI5 Langu
It sets the whole file "red" and to an error - which is not necessary because the coding is working as expected.
Do you have an idea how I can get rid of this issue?
Thanks!
Regards!
Andreas
haemma83
This validation issue as well as some others caused by API for UI5 v 1.38 are now fixed by using the API from the next supported UI5 version as described here. The fix is expected in SAP Business Application Studio and VSC Marketplace with the next scheduled update in about two weeks.
In the meanwhile you can try the fix before the official release if you like: https://github.com/SAP/ui5-language-assistant/releases/tag/v4.0.17
Best Regards
Mariana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.