[easyazon_link identifier=”1849693927″ locale=”US” tag=”wn0d5-20″]Sublime Text[/easyazon_link] is a sophisticated text editor for code, markup and prose. If you like this editor and work with PowerShell, you find this editor excellent tool for your scripting work. [easyazon_link identifier=”1782173552″ locale=”US” tag=”wn0d5-20″] PowerShell [/easyazon_link] syntax is not supported by default in [easyazon_link identifier=”1849698422″ locale=”US” tag=”wn0d5-20″]Sublime Text[/easyazon_link] but you can add the support for [easyazon_link identifier=”1617292184″ locale=”US” tag=”wn0d5-20″] PowerShell [/easyazon_link] in very simple way in both environments, Windows.
- Install package control for Sublime Text.
- Install the PowerShell package:
- Press Ctrl + Shift + P
- Select ‘Install Package’
- Select ‘PowerShell’
Enjoy scripting!
I got this working on Ubuntu.
Instead of copying PowerShell-master to either of the above directories, you instead copy it to a location in your /home/ directory.
~/.config/sublime-text-3/Packages/User/
On a windows system the package should be put in ..AppDataRoamingSublime Text 3PackagesUser
Thanks.
“Install package control” can also be done by pressing Ctrl + Shift + P and typing.