作者:dachuanghu | 来源:互联网 | 2023-05-18 03:31
ImstudentandIgotthefreelatestversionofPhpStorm9(buildPS-141.1912).Itriedtoaddath
I'm student and I got the free latest version of PhpStorm 9 (build PS-141.1912). I tried to add a theme and color scheme to PhpStorm so I put my theme (.icls file) in the C:\Users\me\.WebIde90\colors
folder:
我是学生,我得到了免费的最新版本的PhpStorm 9(构建PS-141.1912)。我试图向PhpStorm添加一个主题和配色方案,所以我把我的主题(.icls文件)放在C:\ Users \ me \ .WebIde90 \ colors文件夹中:
Then I restarted PhpStorm, but I can't see my theme:
然后我重新启动了PhpStorm,但我看不到我的主题:
2 个解决方案
11
Based on your screenshot and your info, you have placed them in ~\.WebIde90\colors
while it should be ~\.WebIde90\config\colors
(where ~
is your user home folder -- typically C:\Users\USERNAME
).
根据您的屏幕截图和您的信息,您已将它们放在〜\ .WebIde90 \ colors中,而它应该是〜\ .WebIde90 \ config \ colors(其中〜是您的用户主文件夹 - 通常是C:\ Users \ USERNAME)。
In general:
A file with Color Schema (*.icls
) should be put into appropriate folder and then IDE should be restarted if it was running by that time (as such stuff gets checked only on launch).
一般情况下:应将具有Color Schema(* .icls)的文件放入适当的文件夹中,然后IDE应该重新启动(如果它在那时运行)(因为只有在启动时才会检查这些内容)。
- Windows:
C:\Users\USERNAME\.IDE_FOLDER\config\colors
- Linux:
~/.IDE_FOLDER/config/colors
- Mac:
~/Library/Preferences/IDE_FOLDER/colors
Where IDE_FOLDER
is the
-- e.g. PhpStorm2016.2
for the latest stable version of PhpStorm (2016.2.2).
IDE_FOLDER是
的地方 - 例如PhpStorm2016.2为最新稳定版PhpStorm(2016.2.2)。
More info on folders: https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs
有关文件夹的更多信息:https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs
P.S.
If Color Schema comes as *.jar
file then use File | Import Setting...
附:如果Color Schema为* .jar文件,则使用File |导入设置...
Please also note that these editor themes are for syntax highlighting mainly and can be changed at Settings/Preferences | Editor | Colors & Fonts
.
另请注意,这些编辑器主题主要用于语法高亮,可以在“设置/首选项”中进行更改编辑|颜色和字体。
This has nothing to do with GUI Theme (also known as LAF -- Look and Feel -- styling the actual GUI elements) which is a separate thing and available at Settings/Preferences | Appearance & Behavior | Appearance
.
这与GUI主题(也称为LAF - 外观和感觉 - 样式化实际的GUI元素)无关,这是一个单独的东西,可在“设置/首选项”中找到。外观与行为|出现。
P.S.
Instead of going into Settings/Preferences .. you can use View | Quick Switch Scheme...
to quickly change between various schemas (colors/keymaps/code styles/etc.)
附:而不是进入设置/首选项..您可以使用视图|快速切换方案...在各种模式(颜色/键盘映射/代码样式/等)之间快速切换