Skip to content

Latest commit

 

History

History
59 lines (30 loc) · 1.94 KB

XSDFeatures.md

File metadata and controls

59 lines (30 loc) · 1.94 KB

XSD Features

CodeLens Support

CodeLens is supported for .xsd files, which can show where a type is referenced.

CodeLens XSD

This feature also supports listing the number of references to a type and the line(s) referenced on.

CodeLens References XSD

Read more

See CodeLens for more details.

XSD Tag Support

After defining a Type or element tag in the .xsd file, there are a number of features supported in relation to types/elements.

Type completion

There is autocompletion support for assigning these types to element tags.

Type Autocompletion XSD

Jump to type definition

For an element tag that is assigned a type, there is support for navigating to its definition from any type assignment.

Jump To Type Definition XSD

Highlight type instances

After defining a Type or element, selecting the name attribute will highlight all occurrences.

Highlight Occurrences XSD

Change all type occurrences

To rename a Type definition and its associated element type attribute values, highlight the name attribute of the Type and press F2 or use the dropdown to select Rename Symbol.

Rename Type Reference XSD

Syntax Validation

XSD syntax validation is enabled for any .xsd file.

Validate element name with same type

Validation of .xsd files enforces all element tags that share a type to have different names.

Validate XSD Same Name

Validate type definition exists

Validation of .xsd files enforces all element tags to be assigned a type that has already been defined.

Validate XSD Type