Editing PowerShell in Sublime Text

by bunchc on October 1, 2012

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:

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

  • http://twitter.com/seanluce Sean Luce

    I can’t believe I am just now finding out about Sublime Text.  Thanks for the tip!

  • Matt

    Can’t get this to import — doesn’t understand the syntax :(

  • http://professionalvmware.com professionalvmware

    Sorry for the delay… been majorly swamped. Were you able to get this sorted, or do you need some further guidance?

  • Padda

    It’s a shame that it doesn’t come with Intellisense and debugging. That would be a real coup. I think Sublime is awesome, it’s just missing that one feature extension.

  • https://plus.google.com/113160298893760188868/posts Navi Charlotte

    *Package Control*

Previous post:

Next post: