Junos extension for Visual Studio Code is a language server that provides auto-completion, validation, and syntax highlighting for Junos.
The language server has the following language features:
- Completion
- Syntax validation
- Syntax highlighting
- Go To Definition
interfaceprefix-listpolicy-statementcommunityas-pathas-path-groupfirewall-filter- NAT pool (
source-pool,destination-pool,dns-alg-pool,overload-pool,security nat ... then (source|destination)-nat pool) addressandaddress-setin global and zone-specific address books, includingsecurity nat ... match (source|destination)-addressandsecurity policies ... match (source|destination)-addressapplicationinsecurity policies ... match application
- Visual Studio Code 1.100.0 or later
Completion and validation are driven by the NETCONF schema (xsd) of Junos 23.4, converted into a parser with junoser. Syntax of other platforms is merged into the schema:
security,chassis clusterandchassis high-availabilityof vSRX 22.4poeof EX 18.1ethernet-switching-optionsof 12.1
Platform differences are not modeled; a statement unsupported on the target device may still be reported as valid. Syntax introduced after the releases above is reported as invalid.
Copyright (c) 2019-2026 Shintaro Kojima. Code released under the MIT license.

