Two new plugins: Workspace Search / Zoom Navigator

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

Re: Two new plugins: Workspace Search / Zoom Navigator

Postby caibbor » Wed Jan 30, 2013 11:09 pm

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)
Anal retentive C++98/11 programmer and game developer.
DavidGH
CodeLite Plugin
Posts: 541
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Postby DavidGH » Thu Jan 31, 2013 12:19 pm

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: 5774
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Postby eranif » Thu Jan 31, 2013 1:05 pm

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: 5774
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Postby eranif » Thu Jan 31, 2013 1:15 pm

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

Postby spaces » Thu Jan 31, 2013 10:16 pm

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: 76
Joined: Thu Jan 10, 2013 10:37 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Postby caibbor » Wed Feb 06, 2013 1:50 am

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.
Anal retentive C++98/11 programmer and game developer.
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

Postby solewalker » Thu Mar 14, 2013 12:30 pm

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: 5774
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Two new plugins: Workspace Search / Zoom Navigator

Postby eranif » Thu Mar 14, 2013 12:44 pm

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

Postby solewalker » Thu Mar 14, 2013 3:24 pm

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

Who is online

Users browsing this forum: No registered users and 2 guests