Iris Classon
Iris Classon - In Love with Code

PowerShell in Sublime- syntax highlighting and piping commands

My love for PowerShell is still strong, and so is my fascination for Sublime. So of course I would like to combine powers! I would like to be able to do two things, have syntax highlighting and to run commands piping the output to sublime. Doable? You bet!

No PowerShell :( No PowerShell :(

The example is with Sublime 2

Get the Sublime package for PowerShell on GitHub

Get also the package for running and piping commands

Unzip, then add the folders to the packages folder for Sublime

powershell_in_sublime4

Restart Sublime, and you have it :)

To run a command, highlight the command and press Ctrl + Shift + R

powershell_in_sublime6

It wont open a PowerShell window, I just wanted to show that they return the same result :)

Comments

Leave a comment below, or by email.
Tomas
12/12/2013 11:15:32 AM
Hey,

You know you can install package control to sublime to make it easier to find an install packages? https://sublime.wbond.net/installation 
Stuart
4/22/2014 1:04:45 PM
Great article, the powershell editor in sublime is way better than the clunky one in the ISE 


Last modified on 2013-11-28

comments powered by Disqus