Canonical install: Install (SSOT). This page covers VS Code–specific options (Marketplace, VSIX, Restricted Mode, custom
lspPath). Artifact filenames: Versions & channels — air-gap manifest.
Installing Strixonomy in VS Code¶
Primary path: Marketplace (or Open VSX for Cursor) → First success (~10 min).
Multi-root workspaces (v0.10+): All workspace folders are indexed on open. Strixonomy: Index Workspace may prompt you to pick a folder when multiple roots are open.
Prerequisites¶
- VS Code 1.85+ (see platform compatibility)
- Strixonomy’s bundled language server runs in trusted and Restricted Mode. Do not Trust the workspace unless you configured
strixonomy.lspPathorstrixonomy.robotPath— those settings are ignored when the folder is untrusted.
Install matrix¶
| Method | Linux | macOS | Windows | Needs Rust? |
|---|---|---|---|---|
| Marketplace extension (bundled language server) | Yes | Yes | Yes | No |
| Open VSX / Cursor marketplace (v0.11+) | Yes | Yes | Yes | No |
| Release VSIX (bundled language server) | Yes | Yes | Yes | No |
cargo install strixonomy-lsp + strixonomy.lspPath | Yes | Yes | Yes | Yes (1.88+) |
Build from source (package-extension.sh) | Yes | Yes | Yes | Yes + Node 20 |
CLI install options (separate from the extension): Install · Install CLI & CI (detail).
Option A — VS Code Marketplace (recommended)¶
- Install Strixonomy from the Marketplace (or Open VSX for Cursor). If the store lags the latest GitHub tag, use the VSIX under Option B — see Versions and channels.
- File → Open Folder… and choose a directory with ontology files.
- Strixonomy’s bundled language server runs without Trust; do not Trust unless you need custom
strixonomy.lspPath/strixonomy.robotPath. - Open the Strixonomy activity bar and browse ontologies, classes, properties, individuals, and Diagnostics.
For a full walkthrough, see First success in 10 minutes.
Sample ontology files: prefer the curl/PowerShell commands in First success. Offline: download strixonomy-tutorial.zip from the v0.27.0 GitHub Release, unzip, and open that folder — or open fixtures/ from a clone.
Option B — GitHub Release VSIX (offline / air-gapped)¶
- Open GitHub Releases and download the latest
strixonomy-v*.vsix(example:strixonomy-v0.27.0.vsix). - In VS Code: Extensions → … menu → Install from VSIX…
- Verify against
SHA256SUMS— see release-integrity.md. - Open a folder containing ontology files (
.ttl,.obo,.owl,.rdf,.owxeditable;.jsonld,.nt,.nq,.trigbrowse/query only).
Release VSIX packages bundle strixonomy-lsp for Linux, macOS, and Windows.
Option C — Build from source¶
Prerequisites: Rust 1.88+, Node 20+, npm (see contributing.md).
From the repository root:
./scripts/package-extension.sh # builds LSP + compiles extension (does not emit VSIX)
cd extension && npx vsce package --no-dependencies
Install the generated .vsix via Install from VSIX…, or press F5 in VS Code with the extension/ folder open (Run Extension).
Option D — Language server on PATH¶
Use this only when the bundled server is missing or you are developing the LSP:
cargo install strixonomy-lsp --locked --version 0.27.0
Set Strixonomy: Lsp Path (strixonomy.lspPath) to the absolute path of your strixonomy-lsp binary. Trusted workspaces only — ignored in Restricted Mode.
Option E — Cursor / Open VSX (v0.11+)¶
Cursor uses the Open VSX registry instead of the Microsoft VS Code Marketplace.
- Open Extensions in Cursor and search for Strixonomy (publisher
strixonomy). - Install Strixonomy (
strixonomy.strixonomy). - Open a folder with ontology files. Strixonomy’s bundled language server works in trusted and Restricted Mode — do not Trust unless you configured
strixonomy.lspPathorstrixonomy.robotPath.
If Strixonomy does not appear in search (before v0.11 or if Open VSX sync is delayed):
- Download
strixonomy-v*.vsix(example:strixonomy-v0.27.0.vsix) from GitHub Releases. - Cmd+Shift+P / Ctrl+Shift+P → Extensions: Install from VSIX…
Release tags from v0.11.3 onward publish automatically to Open VSX.
Using the sidebar¶
After indexing, the Strixonomy activity bar shows five views:
| View | What you see |
|---|---|
| Ontologies | Indexed files and parse status |
| Classes | Class hierarchy |
| Properties | Object, data, and annotation properties |
| Individuals | Named individuals |
| Diagnostics | Lint issues; click to open source |
Refresh — click ↻ on a view title, or run Strixonomy: Refresh Explorer.
Re-index — run Strixonomy: Index Workspace after adding or changing ontology files.
Click an entity name to open the Entity Inspector. For .ttl, .obo, .owl/.rdf, and .owx, use the edit section to change labels, parents, or delete entities (XML is semantic re-serialize). See authoring.md and OWL/XML write-back.
Settings¶
| Setting | Default | Description |
|---|---|---|
strixonomy.lspPath | "" | Trusted workspaces only. Path to strixonomy-lsp; ignored in Restricted Mode. Empty uses bundled binary |
strixonomy.robotPath | "" | Trusted workspaces only. Path to ROBOT JAR or launcher; ignored in Restricted Mode |
strixonomy.indexCache | false | Persist parse snapshots under .strixonomy/cache/ (add to .gitignore) |
strixonomy.queryHistoryLimit | 20 | Max entries in Query Workbench history |
strixonomy.reasoner.default | el | Default profile for Run Reasoner (el, rl, rdfs, dl, auto) |
strixonomy.reasoner.autoProfile | true | Profile-detection warnings when running reasoner |
strixonomy.hierarchy.mode | asserted | Explorer hierarchy: asserted, inferred, or combined |
strixonomy.diagnostics.rules | {} | Per-rule severity overrides (see diagnostics config) |
Indexing runs on workspace open. strixonomy.autoIndexOnOpen is a legacy setting (no-op); kept for compatibility.
Commands¶
- Strixonomy: Index Workspace — rebuild catalog
- Strixonomy: Refresh Explorer — refresh tree views (including diagnostics)
- Strixonomy: Open Query Workbench — SQL and SPARQL against indexed workspace (guide)
- Strixonomy: Open Manchester Editor / Add Manchester Axiom — complex class expressions (guide)
- Strixonomy: Run Reasoner — EL / RL / RDFS / DL / auto classification (guide)
- Strixonomy: Show Explanation — justification for unsatisfiable class
- Strixonomy: Set Hierarchy Mode — asserted / inferred / combined class tree
- Strixonomy: Open Class Graph / Property Graph / Import Graph / Neighborhood Graph — visualization (guide)
- Strixonomy: Create Class / Property / Individual — authoring in editable formats (richest on
.ttl) - Problems panel — inline diagnostics from
strixonomy-lspafter indexing - Strixonomy: Show Entity Inspector / Jump to Source — from explorer context menu
Troubleshooting¶
End users (Marketplace / Open VSX install)¶
| Symptom | Fix |
|---|---|
| Extension does not activate | Open a supported ontology file or the Strixonomy → Ontologies view |
failed to start language server | Check Output → Strixonomy Language Server; uninstall duplicate Strixonomy versions; if using custom strixonomy.lspPath, Trust the workspace |
spawn ... strixonomy-lsp EACCES (macOS/Linux) | Upgrade to Strixonomy ≥ 0.4.0. Manual: chmod +x on the bundled binary path from the error |
couldn't create connection to server | Check Output → Strixonomy Language Server. Reinstall the extension or download a fresh VSIX from GitHub Releases |
| Empty explorer after open | Run Strixonomy: Index Workspace; check Output → Strixonomy Language Server; Trust only if using custom lspPath/robotPath |
| Inspector has no edit controls | Entity must be in .ttl, .obo, .owl/.rdf, or .owx; JSON-LD / TriG / N-Triples are read-only — Supported formats |
Developers (building from source)¶
| Symptom | Fix |
|---|---|
| Bundled LSP missing in dev host | cargo build -p strixonomy-lsp --bins then set strixonomy.lspPath or run ./scripts/package-extension.sh |
| Extension tests fail to spawn LSP | export STRIXONOMY_LSP_BIN="$(pwd)/target/debug/strixonomy-lsp" before npm test (legacy ONTOCORE_LSP_BIN may still work — v0.27 migration) |
See Debugging guide for F5, webview-ui, and E2E workflows.
See also troubleshooting.md, faq.md, and First success in 10 minutes.