Syntax Highlighting in Notepad++
I do a lot of work with PowerCLI and my favorite text editor is Notepad++ . Recently, I've been adding more modules to my repertoire ( PowerNSX and PowerVRNI , I'm looking at you!) and I've finally decided that I need to add all of these modules' cmdlets to my syntax highlighting in NPP. The proper way to do this is to define a custom language and add everything to it. This can be done through the GUI (yuk) or by editing a custom language xml file. Unfortunately, there's no way to clone an existing language as a start for a custom language (or at least, I couldn't find a way to do it). Even more unfortunately, the custom language definitions file syntax is pretty different from the inbuilt ones, so you can't just copy and then edit the XML from the already existing PowerShell language. Not if you want to do it the proper way. It looks to me like I can trivially edit my default langs.xml file (where PowerShell is defined) and add an arbitrary set o...