Custom syntax in Sublime Text 3

A full discussion of how to create a custom syntax is well outside the bounds of something as simple as a Stack Overflow answer. Also I think you’re making your problem more complicated than it actually is (although creating a syntax is pretty complicated in general). In order to walk you through the steps that … Read more

Sublime Text 2 / Sublime Text 3 bring back unsaved files on osx

Sublime Text 2 stores the files in ~/Library/Application Support/Sublime Text 2/Settings, in the .sublime_session files that are located there. The contents of those files are a large JSON blob that contains the individual tab contents. Search in the file for the file name / tab name / a key word in the document and you … Read more

Sublime Text: disable all packages

The best thing I can think of is to keep a list of the package names that you can copy and paste into your preferences file in the “ignored packages” section. If you have any sort of linter or code intel that might be the culprit if it’s several thousand lines. “ignored_packages”: [ “SublimeCodeIntel”, “Vintage” … Read more

Error Executing security dump-trust-settings in Sublime Text 3

Edit 20/09/2016 The Package Control has now fixed and released the update with the following change log: Package Control Version 3.2 Release Notes This version of Package Control focuses on bug-fixes, with notable changes including: OS X TLS trust roots are exported using APIs to prevent the error message displayed to some El Capitan users … Read more

Add Package Control in Sublime Text 3 through the command line

The easiest way is to download https://packagecontrol.io/Package%20Control.sublime-package using wget or curl, and store it in ~/.config/sublime-text-3/Installed Packages. It will then set itself up upon first starting the editor. As a bonus, if you create ~/.config/sublime-text-3/Packages/User/Package Control.sublime-settings and populate it with the packages you want installed, everything should work more-or-less automatically to download and install everything. … Read more

sublime symlink disappeared after upgrading to El Capitan

In El Capitan, you are not allowed to write to /usr/bin, but writing to /usr/local/bin is ok. By default, /usr/local/bin should also be in your path variable. Had the same issue. Deleting and recreating the symlink has fixed the problem. Perhaps the current symlink is pointing to the wrong location after the upgrade. sudo rm … Read more