Cisco IOS Syntax Highlighting for Visual Studio Code
-
Install the extension with VSCode.
-
Save a file with the
.ios
extension and open with VSCode
Cisco IOS Syntax Highlighting for Visual Studio Code
License: MIT License
Cisco IOS Syntax Highlighting for Visual Studio Code
Install the extension with VSCode.
Save a file with the .ios
extension and open with VSCode
Hello, I have started using the plugin for my project I was wondering if Folding option could be added to it?
Reference - https://code.visualstudio.com/api/language-extensions/language-configuration-guide
Thanks for your support
Tiago
Hi @woodjme
Since Atom is going bye-bye (frustratingly) is there any chance you can combine DiogoAndre/language-cisco syntax highlighting with your tool?
I love both of your Cisco syntax highlighting and since Atom is going away, it would be truly awesome to see
Hi, in my latest version of VSCode, the Cisco Syntax highlighter does not seem to be working. Was wondering if anyone else was having this issue?
VSCode Version: 1.26.1
Commit: 493869ee8e8a846b0855873886fc79d480d342de
Date: 2018-08-16T18:38:57.434Z
Electron: 2.0.5
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
Before the upgrade I was able to simply load my config files (.txt or .cfg) and they would automatically highlight the Cisco syntax. Since that time I also installed a python extension for the same purpose. Both the PowerShell extension and the Python extension seem to work after the VSCode upgrade but I can't get the highlighting from the Cisco extension.
Thanks for your assistance.
Don Hendry
It's not good practice to take over generic file extensions like .txt
or even .cfg
.
After installing the extension nothing changes and there are no instructions on how to set it up.
It's great that you shared your work, but without any docs everyone who wants to use it has to read the source code!!
Thank you for creating this extensions, it's very useful!
When you have a chance could add
template peer-policy
template peer-session
support in BGP config.
More details about it:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus3000/sw/unicast/503_u1_2/nexus3000_unicast_config_gd_503_u1_2/l3_advbgp.html
Here is an example config:
router bgp 100
template peer-policy PP_MASTER
send-community both
exit-peer-policy
!
template peer-session PS_MASTER
ttl-security hops 1
exit-peer-session
!
template peer-session PS_AS400
password cisco
inherit peer-session PS_MASTER
exit-peer-session
!
neighbor 192.168.21.2 remote-as 200
neighbor 192.168.21.2 inherit peer-session PS_MASTER
neighbor 192.168.21.2 inherit peer-policy PP_MASTER
neighbor 192.168.31.3 remote-as 300
neighbor 192.168.31.3 inherit peer-session PS_MASTER
neighbor 192.168.31.3 inherit peer-policy PP_MASTER
neighbor 192.168.41.4 remote-as 400
neighbor 192.168.41.4 inherit peer-session PS_AS400
neighbor 192.168.41.4 inherit peer-policy PP_MASTER
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.