Page 1 of 1

Question on 'Rename Symbol'

Posted: Tue Oct 22, 2013 1:40 pm
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

Re: Question on 'Rename Symbol'

Posted: Tue Oct 22, 2013 2:30 pm
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

Re: Question on 'Rename Symbol'

Posted: Tue Oct 22, 2013 3:11 pm
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

Re: Question on 'Rename Symbol'

Posted: Tue Oct 22, 2013 4:15 pm
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

Re: Question on 'Rename Symbol'

Posted: Tue Oct 22, 2013 4:33 pm
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

Re: Question on 'Rename Symbol'

Posted: Tue Oct 22, 2013 4:46 pm
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