rogalmic / vscode-xml-complete

XML editing helper (using XSD schemaLocation)
MIT License
28 stars 16 forks source link

No completion of attributes #7

Closed mrsimpson closed 4 years ago

mrsimpson commented 5 years ago

IntelliSense does not pick up the attributes of an element specified like that

<xsd:complexType name="_ListItemType">
    <xsd:complexContent>
      <xsd:extension base="n0:_ItemType">
        <xsd:attribute name="icon" type="xsd:string">
          <xsd:annotation>
            <xsd:documentation>The icon belonging to this list item instance.
This can be a URI to an image or an icon font URI.</xsd:documentation>
          </xsd:annotation>
        </xsd:attribute>

I added the schema for your convenience (and test case production ;)) You may Try to add a core:ListItem and complete its properties. ZIP with schema and sample xml

Cheers, Oliver

rogalmic commented 4 years ago

Should be fixed in next version...