Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Differentiate class members in CLion/C++ #188

Open
1 task done
SirusDoma opened this issue Nov 26, 2024 · 2 comments
Open
1 task done

Differentiate class members in CLion/C++ #188

SirusDoma opened this issue Nov 26, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@SirusDoma
Copy link

SirusDoma commented Nov 26, 2024

Is there an existing issue outlining your improvement?

  • I have searched the existing issues and my improvement has not been raised yet.

What would you like to see added and/or changed?

Class members are not highlighted in CLion 2024.2.3:

Catppuccin:
image

OneDark Theme:
image

This may look trivial, but this is a deal breaker for me particularly in an object oriented language such as C++

@SirusDoma SirusDoma added the enhancement New feature or request label Nov 26, 2024
@sgoudham sgoudham changed the title Syntax highligting issue in CLion/C++ Differentiate class members in CLion/C++ Nov 30, 2024
@sgoudham
Copy link
Contributor

Hey 👋,

At the moment, our style guide does not specify that class/field members should be highlighted differently.

For me, the main thing is about consistency of Catppuccin across editors (something that we're still working towards) and highlighting class members here would be seen as a "regression". However, I'd be interested to see what it looks like in C++.

I'll leave this open while I think about it. In the meantime, you should be able to override the colour yourself by going to Settings -> Color Scheme -> C/C++. I unfortunately don't know the specific property because I don't have CLion installed but you should be able to play around with all the editor syntax colours and change them to your liking.

@SirusDoma
Copy link
Author

Hi, thanks for your reply

First of all, I understand your point of view as the maintainer of this plugin and style. That said, I believe this reduces cognition when reading the code, particularly in C++. Any serious theme should aim for both aesthetic and practicality in order to boost productivity, and I don't think I can be productive with a theme that highlights less syntax than other common theme

And I'm not really catching this "consistency" concern. This should be possible to make everything consistent across different editors that support C++, and if any of these editors does not support this kind of highlighting, I see no reason that the rest of capable editors should limp themselves in favor of incapable editors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants