Free extension for YANG authoring, powered by the SharpYang compiler stack. Enables syntax highlighting, validation, diagram, and navigation for YANG files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
YANG Studio for Visual Studio Code - Community Edition
A Visual Studio Code extension for YANG authoring, powered by our high performance SharpYang compiler for YANG/NETCONF stack.
Features
Syntax highlighting — TextMate grammar based as well as semantic token classification from the compiler
Diagnostics — parse errors surfaced inline as you type, from the SharpYang compiler
Document symbols — outline view and breadcrumb for all named YANG nodes
Workspace symbols — cross-file symbol search (Ctrl+T)
Completion — all YANG statement keywords
Extension settings
Setting
Default
Description
yang.server.trace
"off"
LSP trace level: off, messages, or verbose.
Commands
Command
Description
YANG: Restart Language Server
Stop and restart the language server process.
YANG: Show Server Info
Display runtime details (binary path, AOT vs managed, trace level).
License
See LICENSE.txt for the Community Edition license agreement.
Upgrade to Pro
The Pro edition is a commercial product that includes additional features and support. To upgrade, please visit the YANG Studio Pro page for more information on pricing and licensing.