Create custom theme
I would like to know if it is possible to create my own theme in WebStorm?
I often switch screens to work with others and will spend at least 5-10 mins altering the theme each time for font size and colour mainly. I would like to know if it is possible to create a new theme based off of one of the pre-defined themes that I can quickly switch to when I change screens?
Please sign in to leave a comment.
Editor color schemes (Settings | Editor | Color Scheme, Scheme) are easily customizable - you can assign preferred colors, font style, etc. to code constructions right in the preferences dialog. See https://www.jetbrains.com/help/webstorm/2018.2/configuring-colors-and-fonts.html.
WebStorm comes with a dozen of editor color schemes to choose from, and lots of custom schemes can be found on the web (for example: https://github.com/dyadyavasya/phpstorm_color, https://github.com/chriskempson/tomorrow-theme/tree/master/Jetbrains, http://www.phpstorm-themes.com, ...).
UI themes (Settings | Appearance & Behavior | Appearance, Theme) are Java Look&Feels. This is a standard way to style Swing applications. As such, they are hardcoded and can't be changed easily. We’re working on a feature allowing themes customization in IntelliJ Platform. Please follow https://youtrack.jetbrains.com/issue/IDEA-132299 to get updates.
You can try custom themes implemented as plugins, like Material UI and Afterglow Theme.
Sorry to resurrect this thread, but I had some additional questions about this. I'm moving from VS Code where I've been using my own custom UI and syntax theme for quite some time, and I'd like to "port" them over somehow. I'm gathering that I'll need to use Material for the UI side of things, which is fine, but is there any programmatic way to create a syntax color scheme? I really don't want to have to click through a thousand settings menu options if I don't have to.
On a related note, can someone explain how TextMate support works in WebStorm? I'm gathering that I can import TextMate bundles, but does WebStorm use TextMate for syntax highlighting by default? My VS Code syntax theme is basically just a JSON file that targets TextMate syntax scopes and applies colors and font styles, so if there were some way that I could target the same TM scopes with the same styles it would greatly streamline the process for me and I would be able to get 1:1 identical results, which would be really fantastic.
I'm strongly considering purchasing WebStorm (and possibly PHPStorm as well) and using it as my primary web development IDE, but whether or not I'm able to get my themes to work without too much extra hassle is going to be a deciding factor.
> is there any programmatic way to create a syntax color scheme?
No
>does WebStorm use TextMate for syntax highlighting by default?
it doesn't