Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Copy Type of Member/Variable into Clipboard

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
hoiby Posted - Jan 16 2009 : 05:21:22 AM
(I'm using Visual Studio 6)

Most of the time I create member reference before use it.
for exemple:

int setWidth(RECT& rc, int width){
  int left=rc.left;
  int& right=rc.right;
  right=left+width;
}


often I don't known the exact type of the member (here : "int")
so, I click on member ("left" or "right"),
I select the "definition" Edit Box in the "VA Navigation Bar",
I select the member type and copy it.

I'll gain a lot of time if it will be possible to assign a shortcut to this (for exemple a function like VAssistXCopyVariableDefinition...)

1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 16 2009 : 1:43:36 PM
We are actually considering adding a new refactoring command to create / declare a variable based on a functions return type, which is basically the same idea. This is actually slightly easier since we are not dealing with functions here, but with other variables:

case=3964

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