Question on 'Rename Symbol'

General questions regarding the usage of CodeLite
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Question on 'Rename Symbol'

Post by ColinTaylor »

Hi, is there a way to limit the scope of 'Rename Symbol' so that instead of displaying the proposed renames across the entire workspace, it displays the proposed renames on (e.g.) just a single Project?
Thanks, Colin
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Question on 'Rename Symbol'

Post by eranif »

ColinTaylor wrote:Hi, is there a way to limit the scope of 'Rename Symbol' so that instead of displaying the proposed renames across the entire workspace, it displays the proposed renames on (e.g.) just a single Project?
Thanks, Colin
No

Why are you asking? Is this because of performance issue?

Eran
Make sure you have read the HOW TO POST thread
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Question on 'Rename Symbol'

Post by ColinTaylor »

Its not so much about performance, more usability I guess.

Here's the scenario ...

1. I have a workspace containing 50 projects
2. In most projects there's a class called MainFrame
3. In one of the projects I'd like to use Rename Symbol to change MainFrame to MyAppMainFrame
4. The results shown on the Rename Symbol dialog list every occurrence of MainFrame in every project in the workspace
5. By default every checkbox next to all the occurrences of MainFrame are checked
6. In order to limit the scope of the Rename Symbol to just one project, I have to manually uncheck every instance which I don't wish to rename.
This is time-consuming, and also very easy to leave one rename in a different project by mistake. In the "MainFrame" example I've just quoted, that's a *lot* of manual unchecking!

The addition of CheckAll and UnCheckAll buttons on the dialog would be an improvement
The ability to limit the scope of the Rename Symbols to just one (or maybe selected) Project(s) would be an even better improvement

Hope this makes sense, Colin
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Question on 'Rename Symbol'

Post by eranif »

So your project are not related. My assumption was (don't ask me why) that a workspace usually produces a single binary
Please open a feature request for this

Eran
Make sure you have read the HOW TO POST thread
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Question on 'Rename Symbol'

Post by ColinTaylor »

You've also assumed I know how to "open a feature request" ;)
Are there any links/description on creating feature requests?

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

Re: Question on 'Rename Symbol'

Post by eranif »

ColinTaylor wrote:You've also assumed I know how to "open a feature request"
http://codelite.org/
in the top bar Feedback -> Request a feature

Eran
Make sure you have read the HOW TO POST thread
Post Reply