Skip to content

rschili/ecschema-vscode-extension

Repository files navigation

ecschema-vscode-extension

This is supposed to provide additional support for composing and editing ecschema xml files in vscode.

Planned features:

  • Provide hover descriptions for all known elements and attributes, possibly for items referenced from external files
  • Report errors for missing mandatory attributes
  • Highlight unknown elements and attributes
  • Provide auto completion based on the current node
  • Validate attribute values (item names, references, types...)
  • Provide code actions that allow to auto complete or fix the current element
  • Detect duplicate attributes or item/property names
  • Jump to symbol (baseclass, referenced item, referenced schema)

Registers the following providers to vscode

  • SemanticTokenProvider (complements the visual studio textmate regex grammar for xml to add more context)
  • HoverProvider (tooltips with descriptions or additional into)
  • DefinitionProvider (provides jump-to support)
  • CodeActionsProvider (fix broken or missing attributes)
  • Diagnostic (report errors about broken things)
  • CompletionItemProvider (suggest attributes, item names, elements)

About

VSCode extension to help with authoring ECSchemas (https://www.itwinjs.org/bis/ec/ec-schema)

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •