News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[SOLVED] Selection occurence highlighting stopped working

Started by zeroth, November 13, 2013, 05:44:34 AM

Previous topic - Next topic

zeroth

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.

oBFusCATed

Build, install and enable the occurrence highlight plugin.
(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!]

zeroth

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.

oBFusCATed

What is the output of "find /usr/ | grep occurrence"?
(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!]

zeroth

#4
/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.

zeroth

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

Jenna

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.

Jenna

A new revision should be available tomorrow (I'm currently building the packages).

zeroth

Oh! I didn't realize running dpkg-reconfigure was interactive lol

Jenna

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.