Skip to content

Feature Request: Gutter Colors #109

Open
@paulreimer

Description

@paulreimer

Having seen this feature in IntelliJ just now, it is so cool!

In every line that contains a parsed color value, it also inserts a "█" in the gutter/sign-column, of the same color. In fact, if there are multiple colors mentioned on one line, it displays the first few colors, e.g. █ █

With this feature, visually you can just scan down the gutter for a certain color of interest, without even looking at the code. Additionally, if you are tweaking a color palette then adjacent lines will get the colors displayed right next to each other in the gutter, so you can evaluate the look (without this feature, you have to get lucky with your variable naming or white-space that the #colors are near each other in the code).

Here is a sample:
image
IntelliJ docs/info:

https://www.jetbrains.com/help/idea/style-sheets.html#ws_css_change_color_values
https://www.jetbrains.com/help/idea/settings-gutter-icons.html (color is basically an icon of "█")

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions