The Sublime2 build files are located at \Sublime Text2\Packages\
folder, but I cannot figure out where Sublime3 put those files. Can anyone give me some help?
Language.sublime-build
files (and everything else that used to be under the Packages/Language
hierarchy) are now included in the zipped Language.sublime-package
files found in Sublime Text Build 3XXX/Packages/
. I haven't found an obvious way to edit these files in a cross-platform-consistent manner, so the easiest thing is to unzip the .sublime-package
file into a folder named for that language, then move the folder to the Sublime Text Build 3XXX/Data/Packages/
folder. As I understand it, any file in Data/Packages/Language
will overrule whatever is contained in the corresponding Packages/Language.sublime-package
file.
EDIT
For Windows installations (not unzipped portable installs) use the C:\Users\YourNameHere\AppData\Roaming\Sublime Text 3\Packages
folder. The Users
subdirectory in this folder is where all your user-specific preferences, keymaps, build systems, etc. go, similar to the Packages\User
directory in ST2. So, if you want to unzip and modify the Python.sublime-package
file, for example, unzip it into AppData\Roaming\Sublime Text 3\Packages\Python
and you'll be all set, as I described above.
CLARIFICATION
The Packages
directory is the one opened when selecting Preferences → Browse Packages…
:
~/.config/sublime-text-3/Packages
or ~/.config/sublime-text/Packages
~/Library/Application Support/Sublime Text 3/Packages
or ~/Library/Application Support/Sublime Text/Packages
C:\Users\YourUserName\AppData\Roaming\Sublime Text 3\Packages
or C:\Users\YourUserName\AppData\Roaming\Sublime Text\Packages
InstallationFolder\Sublime Text 3\Data\Packages
InstallationFolder\Sublime Text\Data\Packages
The exact path depends on version and whether or not you upgraded from Sublime Text 3.
Also, instead of manually unzipping .sublime-package
files, just use the excellent PackageResourceViewer
utility. It does exactly what I described above without the hassle.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With