Editing PowerShell in Sublime Text

First, if you haven’t installed Sublime Text, I would suggest you go here and do that now. It’s a great text editor, with all manner of excellent features. However, it does not ship with PowerShell syntax highlighting by default. To add it, do the following:

  1. Download the ZIP from here: https://github.com/SublimeText/PowerShell
  2. Extract the zip into the “Packages” folder where SublimeText is installed:
    $ pwd
    Sublime Text 2/Packages
    $ ls -al | grep PowerShell
    drwxr-xr-x   12 user  1604020879   408 Sep 29 15:52 PowerShell
  3. Restart SublimeText
  4. Done:
    image

Note: Don’t run the get-vm removeVM part.. it’ll end badly.

5 thoughts on “Editing PowerShell in Sublime Text

Comments are closed.