Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Refactor is not available for single char names

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
mbobka Posted - Jul 24 2006 : 11:15:33 AM

class A {
	void bbb();
};


Try to get refactoring menu for "A".
8   L A T E S T    R E P L I E S    (Newest First)
jpizzi Posted - Jul 29 2006 : 01:15:40 AM
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?
accord Posted - Jul 28 2006 : 10:38:28 AM
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.
marinovi Posted - Jul 28 2006 : 10:30:18 AM

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...
feline Posted - Jul 25 2006 : 7:53:43 PM
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?
mbobka Posted - Jul 25 2006 : 06:37:33 AM
VAX 1530, VS.NET 2005
And why not works for not selected char?
jpizzi Posted - Jul 24 2006 : 10:56:55 PM


Works for me. Which IDE and which version of VAX?
mbobka Posted - Jul 24 2006 : 5:16:41 PM
If you selects A, then only Extract Method is available...
Wrongway Posted - Jul 24 2006 : 12:37:56 PM
Have you tried to select the "A" first before you try refactoring?

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