Two new plugins: Workspace Search / Zoom Navigator

Discussion about CodeLite development process and patches
User avatar
caibbor
CodeLite Veteran
Posts: 78
Joined: Thu Jan 10, 2013 10:37 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Post by caibbor »

Just downloaded the new codelite release. I noticed codelite's cpu usage jumps to 100% when ZoomNavigator is enabled even when there are no open files. I'm gonna look into this a little later to see what I can do to fix this, but for now this is a heads-up. I think it's doing something it doens't need to do. the wxTimer was originally added to prevent it from chugging unnecessarily (although haven't examined exactly how it works now)
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Post by DavidGH »

Hi,

It doesn't here, on debian wheezy (kde) or ubuntu quantal (lxde). Which distro/DE do you use?

What happens if you first temporarily rename your ~/.codelite/ ?

Regards,

David
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Post by eranif »

actually, it happens here as well:
Enable the plugin
Close all editors

Watch top: you will see that codelite uses 100% on one core.
Disabling the plugin or opening *any* file fixes this

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Post by eranif »

Update:
Fixed in trunk

Eran
Make sure you have read the HOW TO POST thread
spaces
CodeLite Veteran
Posts: 67
Joined: Mon Aug 22, 2011 10:15 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Post by spaces »

Ok, just tried it. Very nice feature, and very useful.
Can you make that you can drag the zooming rectangle with left mouse button by holding it down? Or where can I set it if it's possible?
User avatar
caibbor
CodeLite Veteran
Posts: 78
Joined: Thu Jan 10, 2013 10:37 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Post by caibbor »

The way the hightlight works is a bit of a hack. I'm afraid that type of feature you request would be another hacky implementation that I wouldn't want to do myself, unless we found a different way to highlight. the feature itself sounds fine, but in code it would be ... just ugly.
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Post by solewalker »

Sorry, I am new to CodeLite and I can find a way to bring up the Zoom Navigator pane, I am using latest CodeLite binary release on Windows. Forgive me for this noob question. FYI, zoom navigator is enabled in plugins -> zoom navigator -> settings
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Post by eranif »

If it is enabled, you should see it in the workspace view as one of the tabs.
You can right click it and select 'Detach' and dock it elsewhere

Eran
Make sure you have read the HOW TO POST thread
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Post by solewalker »

Thanks I have found it where you mentioned :) Its a cool feature I have found only in Sublime before.
Post Reply