Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpStorm - Can't add a theme

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:


(source: noelshack.com)

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


(source: noelshack.com)

like image 811
Somebody Avatar asked Aug 02 '15 05:08

Somebody


People also ask

How do I install Jetbrain Theme?

In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Appearance & Behavior | Appearance. Select the UI theme from the Theme list: IntelliJ Light: Traditional light theme for IntelliJ-based IDEs. macOS Light or Windows 10 Light: OS-specific light theme available as a bundled plugin.

How do I change PhpStorm to dark mode?

Press Ctrl+` or choose View | Quick Switch Scheme from the main menu. In the popup that opens, select the desired scheme (Color Scheme, Code Style, and so on).

How do I import a Theme into WebStorm?

In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Appearance & Behavior | Appearance. Alternatively, press Ctrl+` and select Theme from the Switch list.


2 Answers

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

like image 96
Maxim Vasiliev Avatar answered Sep 21 '22 05:09

Maxim Vasiliev


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

like image 29
LazyOne Avatar answered Sep 19 '22 05:09

LazyOne