Author Topic: Highlight same words  (Read 1620 times)

Offline nguyencraft01

  • Single posting newcomer
  • *
  • Posts: 2
Highlight same words
« on: March 27, 2022, 06:10:46 am »
Hi
I'm using Code::Blocks 20.03 in window 7. When I double click a word, Code::Blocks editor must be highlight all the other same words in red shape like this picture. But on my version, it didn't. This feature is very helpfull, it show where I didn't fix the variables. How can I enable highlight same words feature in Code::Blocks 20.03 for window 7.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3263
Re: Highlight same words
« Reply #1 on: March 27, 2022, 05:38:54 pm »
Check if the plugin Occurences Highlighting is installed, and enabled:
Settings->Editor->Occurences Highlighting->Highlight occurences of selection

If the plugin is not intsalled try a nightly build

Offline nguyencraft01

  • Single posting newcomer
  • *
  • Posts: 2
Re: Highlight same words
« Reply #2 on: March 27, 2022, 07:22:19 pm »
Can you recommend a stable nightly build? And how to install it?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3263
Re: Highlight same words
« Reply #3 on: March 27, 2022, 08:44:44 pm »
Nightly builds are mostly (>95%) stable.
To install it follow the instruction in the nightly build post
https://forums.codeblocks.org/index.php/topic,24902.msg169712/topicseen.html#msg169712
and
https://forums.codeblocks.org/index.php/topic,3232.0.html