How do I fetch themes inside Sublime's text cache, or where are the pretty text color schemes that have been cached located?

I am on mac.

it is also important to note that the file with the path segment "Packages / Solarized Color Scheme / Solarized (Dark) .tmTheme" does not exist anywhere in the file system. Sublime text has some kind of caching mechanism that I don't understand. there is a cache folder containing binaries that are named similarly (added specifically with .cache), but sublime text does not recognize them as something it can use.

in my preference I have this line:

"color_scheme": "Packages/Solarized Color Scheme/Solarized (Dark).tmTheme"

      

But the path Packages/Solarized Color Scheme/Solarized (Dark).tmTheme

doesn't exist anywhere on my computer. I would like to copy my theme to a new computer, but I cannot find it. I ran sudo find / | grep tmTheme

, which didn't find it. Sublime text needs to have some kind of cache with the theme's virtual directory? seems strange.

To point it again, I ran the following command:

sudo find / | grep tmTheme

      

And it didn't work out. So the file path Packages/Solarized Color Scheme/Solarized (Dark).tmTheme

does not exist anywhere on my system, not at ~Library/Application Support/Sublime Text 3/Packages/Solarized Color Scheme/Solarized (Dark).tmTheme

or elsewhere.

+3


source to share


3 answers


Sublime Text 3 saves its default packages and many plugins (installed via the Control Package) as zipped files .sublime-package

. In OS X, package management packages are stored in ~/Library/Application Support/Sublime Text 3/Installed Packages

. It is highly recommended to use a plugin to access the contents of these packages PackageResourceViewer

. Once installed, open the Command Palette, type , then select . Scroll through the list and select the package of interest, then tap . All files in the package will be extracted to . Then you can view the source, make changes, or whatever. prv

PackageResourceViewer: Extract Package

Enter~/Library/Application Support/Sublime Text 3/Packages/<Package Name>



However, be aware that any package updates will not take effect as the directory Packages

takes precedence over Installed Packages

.

+5


source


The file can be trickier to find due to the fact that it is Sublime Text 3. I personally don't use ST3, but from what I understand, ST3 packages are run from *.sublime-package

files. Try using the following program to view the contents of these ZIP archives.

https://github.com/skuroda/PackageResourceViewer

Link:

https://sublimetext.com/forum/viewtopic.php?f=3&t=13674



Another edit:

How to edit Sublime Text 3 Soda theme

Should work for you too, once again recommending PackageResourceViewer

+1


source


try clicking on the Preferences-> Color Scheme menu on your new PC!

It should work as it looks like one of the default themes!

Hope it helps!

0


source







All Articles