PhpStorm - Can't add a theme

前端 未结 2 773
栀梦
栀梦 2020-12-17 16:49

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 <

相关标签:
2条回答
  • 2020-12-17 17:29

    In PhpStorm 2016.1 it will be ~\.PhpStorm2016.1\config\colors (where ~ is your user home folder - typically C:\Users\USERNAME).

    0 讨论(0)
  • 2020-12-17 17:34

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


    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

    Where IDE_FOLDER is the <ProductName><Version> -- e.g. PhpStorm2016.2 for the latest stable version of 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

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


    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.

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

    0 讨论(0)
提交回复
热议问题