SAP / ui5-language-assistant

VSCode Extension and Editor Tooling for SAPUI5
Apache License 2.0
53 stars 25 forks source link

Language assistant does not recognize some attributes of an element and throws error #668

Closed gvs171287 closed 8 months ago

gvs171287 commented 8 months ago

Dear team,

We are using UI5 Language assistant in VS Code.

We see that for some elements, some new attributes are not recognized and error is shown in editor.

Is there a way to set the value of the version that the assistant should use or update it?

Example: Element: Button | Attribute: ariaHasPopup Element: sap.m.Table | Attribute: autoPopinMode

Best Regards, Gayathri

MN-public commented 8 months ago

Dear @gvs171287 , if by "new attributes" you mean those related to the newer UI5 version, just update the value of the "minUI5Version" setting in manifest.json to use the UI5 version containing this property.

For example, if you want to use ariaHasPopup, you need to make sure the setting value is at least 1.84.0 as defined in SDK API reference for Button:

image

If you mean something else, please provide more details. Hope this helps Mariana

gvs171287 commented 8 months ago

Thank you, it works.