I'm using sublime-text-2 for a while now, and I just decided to install the new beta of sublime-text-3 to try new features (keeping ST2 installed).
I successfully finished the installation, but when I try to install new packages in ST3 (via PackageControl), it seems there's an issue with ST2 already-installed packages.
Let's take SassBuild
package as an example.
[ST2]
Already installed[ST2]
This file exists, and is customizedC:/Users/$/AppData/Roaming/Sublime Text 2/Packages/SASS Build/SASS.sublime-build
[ST3]
I launchSassBuild
installation via PackageControl[ST3]
Installation works well (or it looks like)[ST3]
I want to edit theSASS.sublime-build
file[ST3]
I'm not able to find the folder :C:/Users/$/AppData/Roaming/Sublime Text 3/Packages/SASS Build/
I tried with a few packages, and only new ones (non-installed on ST2) works well.
Any idea to fix/avoid this issue ?
(or any explaination if I'm just missing something)
Best Answer
Sublime Text 3 uses
.sublime-package
zip files to store packages. In Windows, they are stored inAppData/Roaming/Sublime Text 3/Installed Packages
. The easiest way to deal with them is to install thePackageResourceViewer
plugin via Package Control. Once installed, it gives you Command Palette options to view, edit, and extract packages. For example, in your case, hit CtrlShiftP to open the Command Palette, then typeprv
to bring up the PackageResourceViewer options. SelectPackageResourceViewer: Open Resource
, navigate toSASS Build
, then selectSASS.sublime-build
from the menu. Make any changes you want and save the file - it will now be located inAppData/Roaming/Sublime Text 3/Packages/SASS Build/SASS.sublime-build
, and will override the default version in the.sublime-package
.Please note that any files you extract in this way will not be updated when Package Control updates the parent package, so only extract what you actually want to edit. PackageResourceViewer has an option to extract an entire package at once, so just be aware of what will happen if you do that.
Good luck!