Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Context menu refactoring submenu refactors wrong

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
Arnt Posted - Feb 07 2008 : 12:15:04 PM

Hi, I'm having a problem in the (old) build 1549. (No license yet for the latest version, soon I hope.) I have not seen anything related in the current version history on the site so I suppose this will still be the case in the latest build.

Anyway, the problem is this:
class A
{
int b();

void c();
}

My text cursor is positioned just before the character 'b'. I push shift, and right-click on c. I choose refactor/create implementation. And this is what appears in my cpp:


int
A::b()
{

}

So, basically, the refactoring happens on the text cursor position, not on the click location.

I've just discovered the ease of this 'create implementation', but currently my use of it is seriously slowed by having to remember to click first, then shift-rightclick.

Looking through the version history again, I wonder if the addition of the refactor menu to the normal context menu might have fixed this?
2   L A T E S T    R E P L I E S    (Newest First)
Arnt Posted - Feb 08 2008 : 04:06:13 AM
Thanks, another reason to bug my boss about an upgrade ;-)

I hadn't thought about the shortcut, but it's a good idea, I'll try it out.
feline Posted - Feb 07 2008 : 12:40:11 PM
The problem appears to be fixed in VA 1626. When you shift + right click is the caret moved to the click position? It is for me.

For now have you considered mapping a keyboard shortcut to the command VAssistX.CreateImplementation
You will need to move the caret to the correct place first, since the keyboard shortcuts work on caret position. But they are faster than using the mouse right click menu.

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