class Rectangle {
int width, height;
public:
int area() {return width*height;}
};
I guess the answer is nope to this request. C::B doesn't support semantic highlight. It has a hack which sort of works on members, but it is not reliable.
BTW. You're saying that the highlighting looks colorful, but still want to have semantic highlighting which turns code into a rainbow :)
You talked about an hack, do you have a link where I can elaborate on this?I think it is on by default, but is somewhere in the editor settings.
Moreover I noticed that the text I write in C::B is not sharp. I don't know how to explain, but it is kind of blurred. I use the default font.OS, Monitor DPI, scaling setting, C::B version? If you're on windows you have to tell codeblocks that it is dpiaware or something similar. Or try a night build.
Moreover I noticed that the text I write in C::B is not sharp. I don't know how to explain, but it is kind of blurred. I use the default font.OS, Monitor DPI, scaling setting, C::B version? If you're on windows you have to tell codeblocks that it is dpiaware or something similar. Or try a night build.
Mhh, I snooped a bit in Settings -> Editor, but I found nothing.You talked about an hack, do you have a link where I can elaborate on this?I think it is on by default, but is somewhere in the editor settings.
There was a topic how to change the dpi awareness somewhere on the forum.
About the setting Settings -> Editor -> Code completion -> Disable pseudo semantic keyword highlighting
What is the color for the "Global classes and typedefs" style in the C++ syntax highlight settings?Fuchsia
By the way, as you told me, pseudo semantic highlighting is on by default, but members variables are plain black. I chacked all of the 9 groups of keywords.Ok don't worry, I'm actually distracted these days... I noticed that if I enable that checkbox, it disables the semantic higlighting... I unchecked it and now it works fine (by the way it does not highlight user defined types, and if a variable in a method has the same name as a class field it will highlight it, but as you told me it is a basic tool).