Author Topic: Change colour of classes  (Read 4659 times)

Offline Sidhartha

  • Single posting newcomer
  • *
  • Posts: 7
Change colour of classes
« on: February 25, 2012, 02:31:20 pm »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12122
    • Travis build status
Re: Change colour of classes
« Reply #1 on: February 25, 2012, 02:35:59 pm »
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!]

Offline Sidhartha

  • Single posting newcomer
  • *
  • Posts: 7
Re: Change colour of classes
« Reply #2 on: February 25, 2012, 02:48:44 pm »
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

Offline Sidhartha

  • Single posting newcomer
  • *
  • Posts: 7
Re: Change colour of classes
« Reply #3 on: February 25, 2012, 09:46:10 pm »
Anyone? Thanks

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Change colour of classes
« Reply #4 on: February 25, 2012, 09:52:13 pm »
"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.

Offline Sidhartha

  • Single posting newcomer
  • *
  • Posts: 7
Re: Change colour of classes
« Reply #5 on: February 25, 2012, 10:11:48 pm »
Thanks very much!