Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VAX1541 - Refactoring Broken
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hoiby
Senior Member

France
38 Posts

Posted - Dec 02 2006 :  04:20:37 AM  Show Profile  Reply with Quote
The refactoring no more works correctly.
Up to the build 1540 it was possible to "rename" a symbol, and other refactoring stuff.
But with build 1541 only "Extract Method" is available.
I tried to Rebuild symbol databases, but nothing changes.

I'm using visual C++ 6.

support
Whole Tomato Software

5566 Posts

Posted - Dec 02 2006 :  10:31:15 AM  Show Profile  Reply with Quote
Try just placing the text caret within your symbol, not selecting it.

This seems to be a side effect of the fix for ...

case=2197

Edited by - support on Dec 02 2006 10:33:55 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Dec 04 2006 :  08:14:07 AM  Show Profile  Reply with Quote
I cannot get your screen shot to load, but from Supports answer I assume you have selected some text. If you select some text then VA does not know what you want to rename, since you may have selected 2 separate variables.

zen is the art of being at one with the two'ness
Go to Top of Page

hoiby
Senior Member

France
38 Posts

Posted - Dec 04 2006 :  09:32:33 AM  Show Profile  Reply with Quote
Yes, support is right.
With build 1541, the "Rename" appears only if you place the caret over the symbol, and no more appears if you select it.

Thank you.
Go to Top of Page

hoiby
Senior Member

France
38 Posts

Posted - Dec 10 2006 :  03:06:31 AM  Show Profile  Reply with Quote
After one week of using the 1541, this new feature is very annoying for me.
I prefere that the "rename" menu item come back into the old menu.
Why ?
Because the refactory button (the little square button with a black triangle), appears very quickly if some text is selected than if not.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Dec 11 2006 :  09:17:20 AM  Show Profile  Reply with Quote
Do you have any other plugin's installed? The refactoring icon appears at the same speed for me with and without text selected.

If I double click inside a symbol to select it them the refactoring icon seems to show more quickly, but considering the time taken to double click it actually shows up at basically the same speed.

This change was made to deal with the situation where you have selected the red text:

int nSize = nLength * nWidth;

In this situation it is not clear what is going to be renamed. Are you aware that you can assign a keyboard shortcut to open the refactoring context menu, so you do not have to rely on mouse hovering, and any delay associated with this?

zen is the art of being at one with the two'ness
Go to Top of Page

hoiby
Senior Member

France
38 Posts

Posted - Dec 11 2006 :  1:04:09 PM  Show Profile  Reply with Quote
I understood my problem.
When some text is already selected, the refactor button doesn't appear,
so you have to click somewhere to unselect your text (Often I click on the symbol I want to rename).
But, when I click on it, a caret appears under my mouse, and the refactor button doesn't appear,
maybe because the mouse is over the caret. So I have to move my mouse and wait.
After that it appears.

Here is a link to a little SWF video which shows my problem
http://www.dr-hoiby.com/Refactor_Button.html
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Dec 11 2006 :  3:32:14 PM  Show Profile  Reply with Quote
I have put in a request to offer rename if the entire symbol is selected, since there will not be any confusion over what to do.

case=2197

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 17 2007 :  3:45:44 PM  Show Profile  Reply with Quote
Case 2197 is fixed in build 1544.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000