Skip to content

neumaennl/vscode-visual-xml-schema-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

285 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visual XML Schema Editor Extension for Visual Studio Code

CI

Uses VS Code's custom editor API to allow editing XML schemas in a visual manner similar to Altova XMLSpy.

References

VS Code API

vscode module

Configuration

The extension provides the following settings to customize the diagram display:

  • xmlSchemaVisualEditor.showDocumentation (default: false)
    Show documentation annotations in the diagram. When enabled, documentation elements from the XSD will be displayed alongside the diagram elements.

  • xmlSchemaVisualEditor.alwaysShowOccurrence (default: false)
    Always show occurrence constraints (minOccurs/maxOccurs) in the diagram, even for default values (1..1). When disabled, default occurrence values are hidden to reduce clutter.

  • xmlSchemaVisualEditor.showType (default: false)
    Show type information for elements in the diagram. When enabled, the type of each element will be displayed in the diagram.

To change these settings:

  1. Open VS Code Settings (Ctrl+, / Cmd+,)
  2. Search for "XML Schema Visual Editor"
  3. Toggle the desired options

Changes to settings are applied immediately to all open XML Schema editors.

Running the example

This is currently based on the official Custom Editor API Samples from Microsoft.

  • Open this example in VS Code 1.74+
  • npm install
  • npm run watch or npm run compile
  • F5 to start debugging

Open the example files from the exampleFiles directory.

About

Uses VS Code's custom editor API to allow editing XML schemas in a visual manner similar to Altova XMLSpy.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages