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
 Refactor is not available for single char names
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mbobka
Ketchup Master

Russia
86 Posts

Posted - Jul 24 2006 :  11:15:33 AM  Show Profile  Reply with Quote

class A {
	void bbb();
};


Try to get refactoring menu for "A".

Wrongway
Tomato Guru

USA
129 Posts

Posted - Jul 24 2006 :  12:37:56 PM  Show Profile  Reply with Quote
Have you tried to select the "A" first before you try refactoring?

Wrongway

Edited by - Wrongway on Jul 24 2006 12:38:21 PM
Go to Top of Page

mbobka
Ketchup Master

Russia
86 Posts

Posted - Jul 24 2006 :  5:16:41 PM  Show Profile  Reply with Quote
If you selects A, then only Extract Method is available...
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jul 24 2006 :  10:56:55 PM  Show Profile  Reply with Quote


Works for me. Which IDE and which version of VAX?

Joe Pizzi
Go to Top of Page

mbobka
Ketchup Master

Russia
86 Posts

Posted - Jul 25 2006 :  06:37:33 AM  Show Profile  Reply with Quote
VAX 1530, VS.NET 2005
And why not works for not selected char?

Edited by - mbobka on Jul 25 2006 06:38:26 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 25 2006 :  7:53:43 PM  Show Profile  Reply with Quote
using VS2005 and VA 1530, if i place the caret before or after 'A', so that it is touching, and open the menu VAssistX -> Refactoring, then "rename" and "add member" are both available.

what are you trying to do that is not working?

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

marinovi
New Member

Hungary
4 Posts

Posted - Jul 28 2006 :  10:30:18 AM  Show Profile  Reply with Quote

Same thing happens with other non-one-long indentifiers:
if you hover the first character, the down arrow will not appear.

If you move the mouse after the first char (works with 1 char length too: "class A {" - move the mouse between 'A' and '{' ) the menu will appear...
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 28 2006 :  10:38:28 AM  Show Profile  Reply with Quote
jpizzi: you have placed the "{" in a new line, after "class A", while nbobka have placed the "{" character after "class A" separated only with space.

Little difference, but maybe matters.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jul 29 2006 :  01:15:40 AM  Show Profile  Reply with Quote
Well, another difference, as I was re-reading the thread, is that I had the classname selected.

I re-tried the test, and got the same results. If I do not have the name selected, I can get a refactor menu when the mouse cursor is after the name, but not before it. In this case, I do not get the Extract Method choice, but I get the others, which seems to be the opposite of mbobka's original experience.

Still seems OK for me. Perhaps there is some other difference?

Joe Pizzi
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