Sublime Forum

Importing PowerShell Package

#1

I’m using ST2 2.0.2, Build 2221. This is the installed version of ST2, not the portable version.

I’m trying to get the PowerShell highlighting installed.

My first task is to install Package Control. I’m trying to use the manual instructions found here:

https://packagecontrol.io/installation

I’ve been successful at getting the “Package Control.sublime-package” in the folder at C:\Users\Username\AppData\Roaming\Sublime Text 2\Installed Packages

When I close ST2 and reopen it, the “Package Control.sublime-package” file vanishes. I suspect that this should not be happening.

Still, I keep moving forward, pretending that ST2 is ingesting that file into its innards and I should truck forward with the rest of the installation process.

So I do ‘Ctrl + Shift + P’, which does bring up a window, and I type ‘Package Control: Install Package’, and press enter. Nothing happens. The window doesn’t go away; there is no other response on the screen to indicate that ST2 is doing anything.

So I keep moving forward, pretending that ST2 is ingesting the PowerShell goodies into its inner being.

Next, I open ST2, I try to select the ‘PowerShell’ syntax from the syntax list, but it’s not there.

0 Likes

#2

Package Control should have been extracted to C:\Users\Username\AppData\Roaming\Sublime Text 2\Packages.

Package Control 3.4.1 however is failing to load as bundled oscrypto library expects a library select which is not available for python 2.6.

With ST2 no longer being supported for years and Package Control moving on to officially drop support for all builds before ST3143 in the near future, the only way to install packages is by doing so manually or update to a more recent ST release.

1 Like