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

Hover when writing XSDs #192

Open
fbricon opened this issue Nov 3, 2018 · 1 comment
Open

Hover when writing XSDs #192

fbricon opened this issue Nov 3, 2018 · 1 comment
Labels
enhancement New feature or request hover XSD

Comments

@fbricon
Copy link
Contributor

fbricon commented Nov 3, 2018

follow up on #111. Completion now works but hover doesn't on any of the nodes or attributes of an xsd document. Ex:

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:complexType name="property">
        <xs:attribute name="name" type="xs:string" />
        <xs:attribute name="value" type="xs:string" />
    </xs:complexType>

    <xs:complexType name="resource">
        <xs:sequence>
            <xs:element name="property" type="property" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
    </xs:complexType>

    <xs:element name="resources">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="resource" type="resource" minOccurs="0" maxOccurs="unbounded" />
            </xs:sequence>
            <xs:attribute name="variant" type="xs:string" use="required"/>
        </xs:complexType>
    </xs:element>
</xs:schema>
@angelozerr
Copy link
Contributor

Which hover do you want to hav ein this case? Like WTP which shows the content model?

image

@fbricon fbricon modified the milestones: v0.0.3, v0.0.4 Nov 15, 2018
@NikolasKomonen NikolasKomonen modified the milestones: v0.4.0, v0.5.0 Mar 1, 2019
@NikolasKomonen NikolasKomonen removed this from the v0.5.0 milestone Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hover XSD
Projects
None yet
Development

No branches or pull requests

3 participants