The Ui5 Language Assistant is reading all files in a workspace when validating that controls have unique ids, resulting in many false positive conflicts. Having the same id in multiple view files is legal and extremely common; there is no conflict in actual execution because the view id is prefixed to the control ids.
Steps to reproduce
In a project with more than one view, add a button with id "btnOk" in both views. VSCode will highlight both files as having an id conflict. Also reproducible if two unrelated projects are in the same workspace.
Expected behavior
ID validation will occur within the same file, or at least within the same repository.
The Ui5 Language Assistant is reading all files in a workspace when validating that controls have unique ids, resulting in many false positive conflicts. Having the same id in multiple view files is legal and extremely common; there is no conflict in actual execution because the view id is prefixed to the control ids.
Steps to reproduce
In a project with more than one view, add a button with id "btnOk" in both views. VSCode will highlight both files as having an id conflict. Also reproducible if two unrelated projects are in the same workspace.
Expected behavior
ID validation will occur within the same file, or at least within the same repository.