如何编辑 Sublime Text 3 Soda 主题 [英] How to edit Sublime Text 3 Soda Theme
问题描述
我在 OSX 上的 Sublime Text 3 上安装了 Soda 主题,我想知道主题的实际文件和文件夹在哪里,这样我就可以查看主题文件并对其进行自己的编辑,以及我想调整主题中使用的一些图像.
I installed the Soda Theme on Sublime Text 3 on OSX and I was wondering where are the actual files and folder to the theme that way I could look at the theme file and make my own edits to it, along with I would like to adjust a few of the images used in the theme.
在 Git 文档上,它说如果您要在 Sublime 上手动安装 Soda,请将 soda 文件夹放在包目录中,尽管当我通过控制包安装 Soda 时,我在包目录中看不到 Soda 主题.
On the Git documents it says if you are to manually install Soda on Sublime you place the soda folder in the package directory, although when I install Soda via Control Package I don't see the Soda theme in package directory.
推荐答案
除非明确指定不使用它,否则 Sublime Text 3 的大多数包都使用 .sublime-package
格式(本质上是一个 zip 文件).这些包存储在 Packages
文件夹的上一级目录中,位于 Installed Packages
中.如果您想与他们合作,我强烈建议获取PackageResourceViewer
@skuroda 的插件.通过 Package Control 安装.
Unless explicitly designated to not use it, most packages for Sublime Text 3 use the .sublime-package
format (essentially a zip file). These packages are stored one directory up from the Packages
folder, in Installed Packages
. If you want to work with them, I highly recommend getting the PackageResourceViewer
plugin by @skuroda. Install it via Package Control.
安装后,使用 ⌘⇧P 打开命令面板并输入 prv
以获取 PackageResourceViewer 选项.选择Extract Package
,向下导航到Theme - Soda
,点击Enter,你就完成了——目录Packages/Theme- Soda
现在应该与 Github 存储库中的所有文件一起存在..sublime-theme
文件可能是您现在最感兴趣的文件.
Once installed, open the command palette with ⌘⇧P and type prv
to get the PackageResourceViewer options. Choose Extract Package
, navigate down to Theme - Soda
, hit Enter, and you're all set - the directory Packages/Theme - Soda
should now exist with all the files from the Github repo in it. The .sublime-theme
files will probably be the ones you're most interested in for now.
玩得开心!
这篇关于如何编辑 Sublime Text 3 Soda 主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!