Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The plugin does not work with some light CLion themes #27

Open
Durimar opened this issue May 10, 2022 · 1 comment
Open

The plugin does not work with some light CLion themes #27

Durimar opened this issue May 10, 2022 · 1 comment

Comments

@Durimar
Copy link

Durimar commented May 10, 2022

For the dark theme, I see this:
image

But for light themes ('Windows 10 Light' or 'Light Flat Theme') I get this:
image

Does the plugin have any settings for code highlighting colors? How can I change them?

I use 'C/C++ Coverage 2022.1.0-Eap' and 'CLion 2022.1'

@Durimar Durimar changed the title The plugin does not work with light CLion themes The plugin does not work with light some CLion themes May 10, 2022
@Durimar
Copy link
Author

Durimar commented May 10, 2022

I figured out what was wrong.

The 'C/C++ Coverage' plugin uses the 'Color Scheme->General->Line Coverage->Full->Foreground' setting to highlight the line background.
The regular 'CLion Coverage' does not use this 'Foreground' to highlight the code line background, by default.

If I want to set 'CLion Coverage' to highlight the background of a line, I have to turn off 'Foreground' and turn on 'Background'.
I. e. 'CLion Coverage' correctly uses the 'Background' setting for background coloring and the 'Foreground' setting for text coloring.
But, the C/C++ Coverage uses the 'Foreground' setting for painting the background and doesn't use the 'Background' setting.

Can you fix 'C/C++ Coverage' so that it correctly uses the 'Foreground' and 'Background' settings?
Or at least use for background highlighting that setting which is explicitly set.
I.e. if 'Foreground' is enabled explicitly, it uses 'Foreground' for highlighting the background of the code coverage.
If 'Foreground' is off, and 'Background' is explicitly on, then use it for the background.

I would like the code coverage highlighting in the editor to look the same with both 'C/C++ Coverage' and 'CLion Coverage'.

@Durimar Durimar changed the title The plugin does not work with light some CLion themes The plugin does not work with some light CLion themes May 10, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant