Notepad ++ Powershell Language Syntax Coloring

Notepad++ is my editor of choice for writing PowerShell code.  There is a built in language syntax for PowerShell, but it doesn’t include Exchange cmdlets in the syntax coloring.  So, I’ve created a custom user-defined language file for PowerShell, that includes the Exchange, and Active Directory cmdlets, as well as a few other modules that I use regularly.  I also included the new PowerShell 2 comment block coloring, as the built-in didn’t recognize them.

This is my first attempt at creating a user-defined language for Notepad++, but I thought I’d share it, mainly because I didn’t see anyone else that had one available on the internet.

Here’s an example of the coloring:

Extract the zip, and place the xml file in %AppData%\Notepad++\ directory.  If you already have a userDefineLang.xml, you will have to edit your original, and append the data from this file to it.  More info can be found on Notepad++ website if you need help.

[Download]

Related posts:

  1. PowerShell: Change PS Window Size on the fly
  2. Create multiple RDP files with Powershell
  3. Free E-Book: PowerShell
  4. PowerShell: Move Windows Server 2008 Cluster Group
  5. PowerShell: Get-Uptime for Computer(s)
This entry was posted in General. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>