-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
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
XSD based Autocompletion for substitutionGroup #825
Closed
Labels
Milestone
Comments
@shubham-m could you share please your xml. |
Sample XML to reproduce the problem. <?xml version="1.0" encoding="UTF-8"?>
<BookStore
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="bookstore.xsd">
<StoreName>ABC Store</StoreName>
<Publication>
<Title>Book1</Title>
<Author>Author1</Author>
<!-- Autocomplete works here on the base element, try adding another author -->
<Date>2022</Date>
</Publication>
<!-- VSCode Redhat XML plugin shows error here at book element -->
<Book>
<!-- Unable to add elements here using auto complete -->
</Book>
</BookStore> |
angelozerr
added
bug
Something isn't working
completion
and removed
enhancement
New feature or request
labels
Nov 30, 2022
angelozerr
added a commit
to angelozerr/lemminx
that referenced
this issue
Nov 30, 2022
Fixes redhat-developer/vscode-xml#825 Signed-off-by: azerr <[email protected]>
@shubham-m I created a PR to fix this issue. See demo at eclipse-lemminx/lemminx#1386 (comment) |
datho7561
pushed a commit
to eclipse-lemminx/lemminx
that referenced
this issue
Nov 30, 2022
Fixes redhat-developer/vscode-xml#825 Signed-off-by: azerr <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample XSD -
bookstore.xsd
Here Book extends Publication, but for auto complete the
elements
inside Book are not shown in autocomplete.The quick fix tooltip is suggesting the elements but auto complete is not providing them. Clicking on Quick fix is also not helping
The text was updated successfully, but these errors were encountered: