Skip to content

Missing definitions for RustRover 2025.2 update #100

@Lynnesbian

Description

@Lynnesbian

Thanks so much for making this plugin, and the Dracula theme as a whole.

RustRover 2025.2 introduced some major colour scheme changes for Rust. Unfortunately, themes created before this update (at time of writing, every single third-party theme) are unaware of the new highlighting categories, and fall back to the JetBrains theme's colours.

For example, in prior RustRover versions, enum variants were highlighted according to the theme's static class field colour. Dracula Colorful, the theme I use, defines this colour as #BD93F9:

<option name="DEFAULT_STATIC_FIELD">
<value>
<option name="FOREGROUND" value="bd93f9" />
<option name="FONT_TYPE" value="1" />
</value>
</option>

RustRover 2025.2 looks for a specific "enum variant" colour instead, which the Dracula themes obviously lack, having being created before this update. As RustRover is unable to find an enum variant colour defined by the Dracula Colorful theme, it instead falls back to its own colour for enum variants.

This results in a mishmash of colours provided by Dracula and JetBrains' Dark theme:

Image

In the attached image, fn, let, the function name, the comment, and the app variable are all highlighted with Dracula Colorful's colours, but everything else (strings, macros, struct methods) is highlighted with JetBrains Dark's colours.

This can be "fixed" by editing the theme and checking the "inherit values" checkbox on each individual miscoloured item:

Before:

Image

After:

Image

This means that the IDE has an internal mapping where it's aware of the colours it could be using from old themes... but it doesn't use them by default for some reason.

This might be a RustRover bug, there's an open issue on YouTrack.

If this isn't a RustRover bug, however... it would be nice if the Dracula themes could be updated to address this new change.

Thanks for all your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions