Access Keys:
Skip to content (Access Key - 0)

11 Using the DSL Editor

Print this page

Keeping the diagram and DSL in sync

VSA has a feature that ensures the diagram and DSL are always in sync. If you edit the diagram, VSA automatically updates the DSL — and if you edit the DSL, VSA updates the diagram!

Editing the DSL directly

Every VSA diagram page includes a DSL tab, which opens the DSL for that diagram in the VSA DSL Editor. The DSL editor has many features such as syntax highlighting and code completion to help you create and edit DSL files.

DSL code completion

To activate code completion in the DSL Editor, press Ctrl+Space.

A dropdown list displays all valid keywords that you can use at that point in the DSL.

DSL validation

The DSL Editor also displays error markers for any problems with the DSL. To display detailed error messages, including possible solutions, hover the mouse pointer over a marker.

Adaptavist Theme Builder Powered by Atlassian Confluence