vscode-cisco-syntax
Cisco IOS Highlighting for Visual Studio Code
What This Extension Does
This extension provides comprehensive syntax highlighting for Cisco IOS, IOS-XE, NX-OS, and ASA configuration files. It enhances your network automation and configuration management workflow by:
- Color-coded syntax highlighting for Cisco commands, keywords, and parameters
- Improved readability of configuration files with proper formatting
- Support for multiple file types including
.ios
, .cfg
, and .conf
extensions
- Enhanced development experience when working with network device configurations
- Better error detection through visual highlighting of malformed commands
- Duplicate sequence detection with hover tooltips for route-maps and access-lists
Perfect for network engineers, DevOps professionals, and anyone working with Cisco network device configurations in VS Code.
Preview

Quick Start
New Features
Duplicate Sequence Detection
The extension now provides comprehensive duplicate sequence detection with both visual indicators and hover tooltips:
Visual Indicators:
- Red squiggly underlines automatically appear on duplicate sequence lines
- Warning indicators in the Problems panel showing all duplicates in the file
Hover Tooltips:
- Route-maps: Hover over any route-map line to see if the same sequence number is used elsewhere
- Access-lists: Hover over access-list entries to detect duplicate sequence numbers within the same ACL (works with both indented and non-indented entries)
Example duplicate scenarios detected:
route-map TEST-MAP permit 10
match ip address ACL-1
route-map TEST-MAP deny 20
match all
route-map TEST-MAP deny 20 ← Duplicate sequence 20 detected
match community 100:200
ip access-list standard 2
10 permit 172.22.1.1
20 permit 10.1.1.1
20 permit 12.1.1.1 ← Duplicate sequence 20 detected
How it works:
- Automatic Detection: Duplicates are detected automatically when you open or edit
.ios
files
- Visual Feedback: Duplicate lines get red squiggly underlines immediately
- Problems Panel: All duplicates are listed in VS Code's Problems panel
- Detailed Tooltips: Hover over any duplicate line for specific information about where other duplicates are located
Both route-map and access-list duplicates are supported, with smart context detection that handles various Cisco IOS syntax patterns.
Links
GitHub
Visual Studio Marketplace