How to enable gutter color preview?

I've enabled them in Editor > General > Gutter Icons in PyCharm 2019.1, but they don't show up anywhere. How come?

Comment actions Permalink

Hi, try the following code in your CSS:

body {
margin: 25px;
background-color: rgb(100, 150, 50);
font-family: arial, sans-serif;
font-size: 14px;

The background color should be previewed in the gutter. If not working, please post your code snippet.

Comment actions Permalink

It works correctly in a .css. So that means it's not available for .py scripts? That wasn't immediately apparent to me.


Please sign in to leave a comment.