Sublime Text 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. PowerShell syntax is not supported by default in Sublime Text but you can add the support for PowerShell 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.