本文介绍了PhpStorm-无法添加主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是学生,我获得了免费的PhpStorm 9最新版本(内部版本PS-141.1912).我试图向PhpStorm添加主题和配色方案,所以我将主题(.icls文件)放在C:\Users\me\.WebIde90\colors文件夹中:

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,但看不到主题:

Then I restarted PhpStorm, but I can't see my theme:

推荐答案

根据您的屏幕截图和信息,您将它们放置在~\.WebIde90\colors中,而它应该为 ~\.WebIde90\config\colors (其中~是您的用户主文件夹-通常为C:\Users\USERNAME).

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).

常规:
具有Color Schema(*.icls)的文件应放在适当的文件夹中,然后如果IDE在那时正在运行,则应该重新启动IDE(因为此类文件仅在启动时检查).

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).

  • Windows:C:\Users\USERNAME\.IDE_FOLDER\config\colors
  • Linux:~/.IDE_FOLDER/config/colors
  • Mac:~/Library/Preferences/IDE_FOLDER/colors
  • Windows: C:\Users\USERNAME\.IDE_FOLDER\config\colors
  • Linux: ~/.IDE_FOLDER/config/colors
  • Mac: ~/Library/Preferences/IDE_FOLDER/colors

IDE_FOLDER<ProductName><Version>的位置-例如PhpStorm2016.2获取PhpStorm的最新稳定版本(2016.2.2).

Where IDE_FOLDER is the <ProductName><Version> -- e.g. PhpStorm2016.2 for the latest stable version of PhpStorm (2016.2.2).

有关文件夹的更多信息: https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store -settings-caches-plugins-and-logs

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

PS
如果颜色模式作为*.jar文件出现,则使用File | Import Setting...

P.S.
If Color Schema comes as *.jar file then use File | Import Setting...

请注意,这些编辑器主题主要用于突出显示语法,可以在Settings/Preferences | Editor | Colors & Fonts进行更改.

Please also note that these editor themes are for syntax highlighting mainly and can be changed at Settings/Preferences | Editor | Colors & Fonts.

这与GUI主题(也称为LAF-外观-样式化实际的GUI元素)无关,这是单独的事情,可在Settings/Preferences | Appearance & Behavior | Appearance获得.

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.

PS
无需进入设置/首选项..您可以使用View | Quick Switch Scheme...在各种模式(颜色/键映射/代码样式/等)之间快速切换

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.)

这篇关于PhpStorm-无法添加主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-23 11:25