Skip to content
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

Add support for textDocument/references for XML Schema types #58

Closed
angelozerr opened this issue Aug 11, 2018 · 0 comments · Fixed by #466
Closed

Add support for textDocument/references for XML Schema types #58

angelozerr opened this issue Aug 11, 2018 · 0 comments · Fixed by #466
Assignees
Labels
enhancement New feature or request XSD
Milestone

Comments

@angelozerr
Copy link
Contributor

angelozerr commented Aug 11, 2018

Add support for textDocument/references https://microsoft.github.io/language-server-protocol/specification#textDocument_references for extension

One extension for XSD could find the references of xs:complexType (references by xs:element, etc) :

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://maven.apache.org/POM/4.0.0" targetNamespace="http://maven.apache.org/POM/4.0.0">
  <xs:element name="project" type="Model">
...
  </xs:element>
  <xs:complexType name="Model">

A Find References did in the "Model" of txs:complexType shoudl return xs:element

Here a references demo with XMLSchema.xsd

XSDReferenceDemo

The references should work with other element like:

  • xs:complexType
  • xs:simpleType
  • xs:element
  • xs:group
@fbricon fbricon added the enhancement New feature or request label Sep 7, 2018
@angelozerr angelozerr changed the title Add support for textDocument/references Add support for textDocument/references for XML Schema types Jun 24, 2019
@angelozerr angelozerr added the XSD label Jun 24, 2019
@angelozerr angelozerr self-assigned this Jun 24, 2019
@angelozerr angelozerr added this to the v0.8.0 milestone Jun 24, 2019
angelozerr added a commit that referenced this issue Jun 24, 2019
Fix #58

Signed-off-by: azerr <azerr@redhat.com>
angelozerr added a commit that referenced this issue Jun 24, 2019
Fix #58

Signed-off-by: azerr <azerr@redhat.com>
angelozerr added a commit that referenced this issue Jun 25, 2019
Fix #58

Signed-off-by: azerr <azerr@redhat.com>
angelozerr added a commit that referenced this issue Jun 25, 2019
Fix #58

Signed-off-by: azerr <azerr@redhat.com>
angelozerr added a commit that referenced this issue Jun 25, 2019
Fix #58

Signed-off-by: azerr <azerr@redhat.com>
angelozerr added a commit that referenced this issue Jun 25, 2019
Fix #58

Signed-off-by: azerr <azerr@redhat.com>
angelozerr added a commit that referenced this issue Jun 25, 2019
Fix #58

Signed-off-by: azerr <azerr@redhat.com>
angelozerr added a commit that referenced this issue Jun 25, 2019
Fix #58

Signed-off-by: azerr <azerr@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request XSD
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants