-
Notifications
You must be signed in to change notification settings - Fork 93
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
Indicate source of element for completion #394
Indicate source of element for completion #394
Conversation
Thoughts on the final result, any preferences for me to change anything? Will do tests once the implementation is confirmed. |
adbedd8
to
82c7ea6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit message title should be shorter
.../eclipse/lsp4xml/extensions/contentmodel/participants/ContentModelCompletionParticipant.java
Outdated
Show resolved
Hide resolved
.../eclipse/lsp4xml/extensions/contentmodel/participants/ContentModelCompletionParticipant.java
Outdated
Show resolved
Hide resolved
.../eclipse/lsp4xml/extensions/contentmodel/participants/ContentModelCompletionParticipant.java
Outdated
Show resolved
Hide resolved
.../eclipse/lsp4xml/extensions/contentmodel/participants/ContentModelCompletionParticipant.java
Outdated
Show resolved
Hide resolved
.../eclipse/lsp4xml/extensions/contentmodel/participants/ContentModelCompletionParticipant.java
Outdated
Show resolved
Hide resolved
Missing unit tests for xsd and dtd sources |
...ipse.lsp4xml/src/main/java/org/eclipse/lsp4xml/extensions/contentmodel/model/CMDocument.java
Outdated
Show resolved
Hide resolved
43f896c
to
214a197
Compare
@fbricon Updated with tests, now 'Source' is used instead of 'File' and the file URI is provided in the constructor as @angelozerr indicated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about DTDs?
...pse.lsp4xml/src/main/java/org/eclipse/lsp4xml/extensions/xsd/contentmodel/CMXSDDocument.java
Show resolved
Hide resolved
Please fix the conflict with master |
...src/main/java/org/eclipse/lsp4xml/extensions/xsd/contentmodel/CMXSDContentModelProvider.java
Outdated
Show resolved
Hide resolved
...pse.lsp4xml/src/main/java/org/eclipse/lsp4xml/extensions/dtd/contentmodel/CMDTDDocument.java
Outdated
Show resolved
Hide resolved
...pse.lsp4xml/src/main/java/org/eclipse/lsp4xml/extensions/dtd/contentmodel/CMDTDDocument.java
Outdated
Show resolved
Hide resolved
.../eclipse/lsp4xml/extensions/contentmodel/participants/ContentModelCompletionParticipant.java
Outdated
Show resolved
Hide resolved
.../eclipse/lsp4xml/extensions/contentmodel/participants/ContentModelCompletionParticipant.java
Outdated
Show resolved
Hide resolved
the file name of the schema they come from. Fixes eclipse-lemminx#210 Signed-off-by: Nikolas Komonen <[email protected]>
214a197
to
8326fbf
Compare
@fbricon Updated |
Fixes #210
Example with A description and filename