Community discussions

MikroTik App
 
vili11
just joined
Topic Author
Posts: 11
Joined: Thu Mar 28, 2019 7:41 pm

Notepad++ (npp) user-defined language (UDL) for RouterOS

Fri Jan 29, 2021 8:11 pm

I'm not sure how many people use Notepad++, but I think it's stellar. I write a decent amount of network configs in IOS and JunOS, and I use functions like plugins, tabs, split windows, multiple windows, and especially user-defined languages. As our company moves more into RouterOS I decided it was worth looking into a UDL for it.

Many people create & update UDLs for common languages like IOS, JunOS, Fortinet, etc. So, I found one for RouterOS that someone created a few years ago and made quite a few modifications. See attached if you'd like to give it a shot; I find it helps writing & debugging quite a bit.

To install the file, you need to find your UDL folder.
In NPP, go to Language > User-defined Language > Open User-Define Language folder
(in Windows this is usually C:\Users\%user%\AppData\Roaming\Notepad++\userDefineLangs)
Extract the xml file from the rar, into this folder
Restart NPP

Look at the bottom of the Languages list, it should be listed. Now, when you create or edit a file, you can choose RouterOS as the language.

RAR file is also here: https://drive.google.com/file/d/1SKtgiE ... sp=sharing
You do not have the required permissions to view the files attached to this post.
 
RioSif
just joined
Posts: 4
Joined: Mon Jan 21, 2013 2:22 am

Re: Notepad++ (npp) user-defined language (UDL) for RouterOS

Fri Jan 29, 2021 9:05 pm

Great thanks!
 
arboziz
just joined
Posts: 7
Joined: Mon Feb 05, 2018 11:12 am

Re: Notepad++ (npp) user-defined language (UDL) for RouterOS

Sun Jan 31, 2021 12:27 am

Thanks !!
 
User avatar
mozerd
Forum Veteran
Forum Veteran
Posts: 942
Joined: Thu Oct 05, 2017 3:39 pm
Location: Canada
Contact:

Re: Notepad++ (npp) user-defined language (UDL) for RouterOS

Sun Jan 31, 2021 1:15 am

@vili11. very nice .... Thank You.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22245
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Notepad++ (npp) user-defined language (UDL) for RouterOS

Sun Jan 31, 2021 3:53 am

I see lots of pretty colours, is that what is meant by ROS language?