News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Change colour of classes

Started by Sidhartha, February 25, 2012, 02:31:20 PM

Previous topic - Next topic

Sidhartha

Hi All,

Just started using CodeBlocks for C++... have got my editor colour set up as I want them...
However, I'm surprised to see that classes don't appear in their own colour... they simply seem to be shown in the foreground colour...

Am I missing something? I think it's really helpful to highlight classes in a different colour.

Thanks

oBFusCATed

No, there is no semantic highlighting implemented for code::blocks. Sorry.
If you really need it you can step up to implement it (it is not that simple).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Sidhartha

Thanks for your quick reply.

Ok, fair enough. I'll live!

While I'm here, one more query... I am using a dark theme... dark grey background. Right now my cursor is black and I am seeing no 'active line highlight'... no matter what I set the colours of the 'active line' to be in the editor...

Again, am I missing something? I really need to see the active line clearly.

Many Thanks

Sidhartha


Jenna

"Settings -> Editor -> General settings -> [Editor settings -> ] Highlight line under caret" to highlight the actual line.
Whether you need the part in the brackets depends on your version of C::B .

"Settings -> Editor -> Margins and caret -> Caret -> Colour" to set the carets colour.

Not too hard to find I think.

Sidhartha