Sublime Forum

Sublime Text Powershell Tools

#1

bitbucket.org/guillermooo/sublim … hell-tools

This is not a Sublime Text Package, but a collection of scripts to work more efficiently with Sublime Text from PowerShell.

New-SublimeProject
    Create a project under $SublimeProjectsDir. This way you don't have to keep your sublime-project file under the same directory as your code.

Get-SublimeProjects
    Get the existing sublime-project files under $SublimeProjectsDir. Pretty raw output; make sure to filter it.

Edit-WithSublime
    A wrapper around sublimetext.exe.

To obtain help for any of these cmdlets, do:

help <Cmdlet> -Full

Installation:

Dot source this file before use (. ./sublime-pstools.ps1) or do the same from your $Profile to have it always loaded for you.

More cmdlets are in the pipeline (horrible pun intended). Hope you find them useful!

0 Likes