Skip to main content

Scapius VS Code Extension

The official Scapius extension transforms Visual Studio Code into an interactive Architecture as Code IDE.


Installation

Search for Scapius in the VS Code Extensions pane (Ctrl+Shift+X / Cmd+Shift+X) or install via command palette:

ext install nexusea.nexus-vscode

Key Features

1. Syntax Highlighting

Full grammar-aware token coloring for entity keywords, relationship verbs, enum literals, custom attribute namespaces, and styles blocks.

2. Real-time Semantic Diagnostics

Errors (such as duplicate entity IDs, illegal relationship source-target pairs, and date ordering issues) appear directly in your editor as red squigglies and in the Problems panel.

3. Intelligent Completions & Snippets

Type any entity keyword (e.g. system, capability, control) or relationship verb (e.g. flows_to, mitigates) and press Tab to expand boilerplate templates.

4. Hover Documentation

Hover over any entity keyword or relationship verb to view inline parameter definitions, allowed enum values, allowed source/target constraints, and ArchiMate mappings.


Configuration Settings

You can customize the extension behavior in .vscode/settings.json:

{
"nexus.validation.strictMode": false,
"nexus.formatting.indentSize": 4,
"nexus.diagnostics.enableRealtime": true
}