We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When editing a XML file, the tag name have complete with prefix but attribute name is missing its prefix. Pls make it better.
<!-- other.xsd --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="test-attrs"> <xs:attribute name="label" type="xs:string"/> </xs:schema> <!-- sample.xsd --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:test="test-attrs"> <xs:import schemaLocation="other.xsd" namespace="test-attrs"/> <xs:element name="sample"> <xs:complexType> <xs:attribute ref="test:label"/> </xs:complexType> </xs:element> </xs:schema> <!-- sample.xml (✘error version) --> <sample xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:test="test-attrs" xsi:noNamespaceSchemaLocation="sample.xsd" label="sample"/> <!-- sample.xml (✔correct version) --> <sample xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:test="test-attrs" xsi:noNamespaceSchemaLocation="sample.xsd" test:label="sample"/>
The text was updated successfully, but these errors were encountered:
Completion for prefix of attribute name
4231940
Fixes eclipse-lemminx#1133 Signed-off-by: azerr <[email protected]>
7258d6f
@dev-bz I'm fixing your issue, see demo at #1191 (comment)
Sorry, something went wrong.
4284720
4a176d5
Fixes #1133 Signed-off-by: azerr <[email protected]>
Successfully merging a pull request may close this issue.
When editing a XML file, the tag name have complete with prefix but attribute name is missing its prefix. Pls make it better.
The text was updated successfully, but these errors were encountered: