NetStacksNetStacks

Code Editor

A Monaco-based code editor inside the Workspace with multi-tab editing, syntax highlighting for the formats network engineers use, and binary-safe saves through the local Agent.

Overview

The Workspace editor is built on Monaco — the same editor core used by VS Code — so editing scripts, templates, and config files feels familiar: multiple cursors, find/replace, bracket matching, and keyboard-first navigation.

Editing Files

Open files from the file explorer. Each file opens in its own tab so you can keep a template, a script, and a runbook open while you work a device session in parallel.

Syntax & Languages

The editor highlights the formats common in network engineering — Python, YAML, JSON, XML, and YANG among them. For Python, YANG, XML, and JSON the editor also provides richer language features (diagnostics, completion, formatting) through the Workspace language layer.

Note

Language intelligence (Python via Pyrefly, plus YANG/XML/JSON and user-added servers) is documented separately in Language Support.

Saving & Binary Files

Saves are written by the local Agent to the Workspace path. The Agent supports binary-safe writes, so non-text artifacts (for example pasted images) are stored correctly rather than being mangled as text.

Q&A

Q: Is this the same editor as VS Code?
A: It uses the Monaco editor core that powers VS Code. It is not VS Code and does not run VS Code extensions; Workspace language features come from the LSP layer.
Q: Where are files written?
A: To their real path inside the Workspace, by the on-device Agent. Nothing is uploaded.