Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 More Renaming options

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
mmb Posted - Dec 13 2006 : 07:45:18 AM
I found myself quite often using the renaming feature of the newer VA, but miss some simple things:

1.) Quite often I know that I will restrict the renaming to the current file or some files. When working with big project I have to unselect a lot of files, which makes me unhappy ;-)
Please add an Select ALL/Unselect ALL or Invert Selection button to the rename dialog.

2.) Maybe an option "Rename only in this file" would be sufficient sometimes. This could be done with 1. but I always have to wait until all files are parsed, because Cancel closes the Rename dialog.

3.) Even if I want to rename in the whole project, sometimes other subprojects are in my solution. It's difficult to filter them out, because the files in the Rename dialog are not sorted.
Plase add an button "sort files" to the Rename dialog or sort them by default (by directories).

4.) Maybe a selection box "rename only in this projects" would be even better, where one can select the subprojects on which the renaming is restricted. This should automatically deselect files which are NOT in the selected projects.

4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 01 2008 : 07:30:45 AM
case=4087 is implemented in build 1707 (per-project results may be checked/unchecked at once)
feline Posted - Dec 13 2006 : 12:03:12 PM
This makes sense. It is not quite what rename was designed to do, but I can see how it would be very useful here. I have put in a feature request for select all, select none on the rename dialog

case=4087

renaming by project or sub-project is not as easy as it sounds. what happens when a single cpp or .h file is included in more than one project? is this file updated or not?

sorting the items has come up before

case=2402
mmb Posted - Dec 13 2006 : 08:53:11 AM
Renaming in just one file makes sense if you have to replace a type with another one that is local to the current file, ie.

class A : B {}

replace all B to A (but only in the current file). It makes even sense in replacing function calls by others (as I often have to do in C projects).
And no, I don't want simple text replace, bacause B might be (and often is in my case because we use doxygen which adds typenames by itself) a meaningful word in the comments and never a type name ...
feline Posted - Dec 13 2006 : 08:09:43 AM
I see why multiple projects would confuse rename, but why do you need to restrict rename to just the current file? I am wondering if some other method might be better.

The only time I have ever had this problem is when I copy an existing cpp and .h file pair, and then rename the class, to create a new class from an existing class.

In this case it is actually better to use the IDE's find and replace to rename the class, since this renames in comments as well, and is faster

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000