Code::Blocks Forums

User forums => Help => Topic started by: zeroth on November 13, 2013, 05:44:34 am

Title: [SOLVED] Selection occurence highlighting stopped working
Post by: zeroth on November 13, 2013, 05:44:34 am
CodeBlocks SVN 9435

I've been using codeblocks from svn for a long time, and some time ago this problem began. I used to be able to select a word, and every occurrence of that word would highlight for me. I miss that feature, is it just broken in SVN right now, or did the feature go away permenantly? I'm on linux, and I have tried deleting my ~/.codeblocks folder and it does not help.
Title: Re: Selection occurence highlighting stopped working
Post by: oBFusCATed on November 13, 2013, 08:50:40 am
Build, install and enable the occurrence highlight plugin.
Title: Re: Selection occurence highlighting stopped working
Post by: zeroth on November 14, 2013, 11:19:25 pm
eh, I'm actually using the apt.jenslody.de/testing repository, not building on my own. I did this to more easily stay up to date. I guess that repo just doesn't package the Occurrence Highlighter plugin. It's not listed in the plugins manager.
Title: Re: Selection occurence highlighting stopped working
Post by: oBFusCATed on November 14, 2013, 11:36:38 pm
What is the output of "find /usr/ | grep occurrence"?
Title: Re: Selection occurence highlighting stopped working
Post by: zeroth on November 14, 2013, 11:50:42 pm
/usr/lib/codeblocks/plugins/liboccurrenceshighlighting.so.do_not_load

looks like the package maintainer doesn't like that plugin

edit: Just for the record, that's the only plugin with a .do_not_load extension.
Title: Re: Selection occurence highlighting stopped working
Post by: zeroth on November 14, 2013, 11:52:10 pm
Well, I just made a symlink to the file without the .do_not_load and highlighting works again. This'll work when I update again, so for now I'm happy.

Thanks
Title: Re: [SOLVED] Selection occurence highlighting stopped working
Post by: Jenna on November 15, 2013, 12:09:21 am
You should run sudo dpkg-reconfigure codeblocks instead.
You can (really) enable or disable plugins from load (just on debian).
I just removed that stuff, because you are not the first that stumble over this.
And I did not find an (easy) way to make sure you are asked which plugins you want to have enabled (or disabled), if the list of the plugins has changed.
Title: Re: [SOLVED] Selection occurence highlighting stopped working
Post by: Jenna on November 15, 2013, 12:10:28 am
A new revision should be available tomorrow (I'm currently building the packages).
Title: Re: [SOLVED] Selection occurence highlighting stopped working
Post by: zeroth on November 15, 2013, 01:18:07 am
Oh! I didn't realize running dpkg-reconfigure was interactive lol
Title: Re: [SOLVED] Selection occurence highlighting stopped working
Post by: Jenna on November 15, 2013, 06:54:00 am
The issue is fixed in newest revision on my server.
It still might leave some artifacts in C::B's plugin folder (*.do_not_load).
I will update the postinst-script for debian to remove these if they are there.
Might come this weekend (probably today), if I find the time.