Language Pack for Notepad++

  • 0
  • 1
  • Question
  • Updated 7 months ago
  • Answered
I was watching a scripting basics video on YouTube the other day and it mentioned that there was a customizable markup language pack available for xsf files for notepad++. Is that something that I can get a copy of? It would make my life so much easier.

Here is the link to the video in case you aren’t sure what I’m talking about. I tried to find information on this in the HUB, but I came up short.

 

https://www.youtube.com/watch?v=BI1_J7kwFrw

(Slide is at 9:08)

Photo of Dan ODonnell

Dan ODonnell

  • 112 Points 100 badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
I will update you once I get information about Language pack for Notepad++.
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
https://www.dropbox.com/s/oeorn9vlk54nnlp/ExtremeXOS_npp.xml

1.       To load it, open Notepad++ and go to “Language, Define your language...”

2.       In the “Define” window, click “Import.”

3.       Navigate to the folder with the xml file and import it.

4.       Restart Notepad++

5.       Now you should see “ExtremeXOS” in the language menu.

 Above URL would download the requested file. 




Photo of Dan ODonnell

Dan ODonnell

  • 112 Points 100 badge 2x thumb
Perfect! Thanks so much!
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
I am not sure how much helpful this software as I haven't used yet.
Photo of Johannes Denninger

Johannes Denninger

  • 492 Points 250 badge 2x thumb
I did the same for Visual Studio Code (I like it way more than Notepad++)if anyone is interested. Language colors and some snippets which may help to ease up some config writing:


https://github.com/joxz/exos-vscode
(Edited)
Photo of Drew C.

Drew C., Community Manager

  • 37,364 Points 20k badge 2x thumb
Johannes, these look great!

Have you seen the scripts on our GitHub page?  https://github.com/extremenetworks
A bit unrelated to NPP and VS, but you may find some useful scripts there.

To anyone who finds this thread later, I've made some updates to the n++ template and loaded it to GitHub.
Photo of Ahmed Haroun

Ahmed Haroun

  • 888 Points 500 badge 2x thumb
it fails to import this file, any newer updates?
Photo of Bill Handler

Bill Handler

  • 1,224 Points 1k badge 2x thumb
Worked for me.  I had to copy the displayed code, remove the line numbers and save the file, but it imported fine for me...
Photo of Ahmed Haroun

Ahmed Haroun

  • 888 Points 500 badge 2x thumb
can you elaborate further? how to remove the line numbers? i get fail to import from Notepadd++
Photo of Bill Handler

Bill Handler

  • 1,224 Points 1k badge 2x thumb

When I copied from the code from the web page, it copied the line numbers as well; a small snippet of what I copied: 



I copied all the text into Notepad++ then deleted the copied line numbers.  Notepad++ still has it's own line numbers on the file.  I then saved it as an .xml file.

Photo of Ahmed Haroun

Ahmed Haroun

  • 888 Points 500 badge 2x thumb
Sorry , but how would i delete the line numbers? the file i have does not have a line numbers.
(Edited)
Photo of Drew C.

Drew C., Community Manager

  • 37,364 Points 20k badge 2x thumb
If your xml file in notepad++ doesn't have line numbers in the text itself, then you don't need to delete them.
If you are still unsure what XML content you need, right click this link, and "save as." This should be the file you import to N++ as your template.
Photo of Ahmed Haroun

Ahmed Haroun

  • 888 Points 500 badge 2x thumb
Thanks, this one finally works.
Photo of Drew C.

Drew C., Community Manager

  • 37,364 Points 20k badge 2x thumb
I just did a quick test and I see a way we can improve the download/install process. If you right-click the xml file from the readme, you actually get an HTML file. The readme should have a link to the raw xml file. I should be able to fix that and add a better explanation on the readme page.

Bill's method is the way to go for now, I think.
(Edited)