Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: nguyencraft01 on March 27, 2022, 06:10:46 am

Title: Highlight same words
Post by: nguyencraft01 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.
(https://forums.codeblocks.org/index.php?action=dlattach;topic=23178.0;attach=9575;image)
Title: Re: Highlight same words
Post by: BlueHazzard 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
Title: Re: Highlight same words
Post by: nguyencraft01 on March 27, 2022, 07:22:19 pm
Can you recommend a stable nightly build? And how to install it?
Title: Re: Highlight same words
Post by: BlueHazzard 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