Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Pointer with new smart suggestion

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
skogkatt Posted - Nov 10 2016 : 04:51:03 AM
For example:

typedef unsigned char BYTE;
typedef BYTE* PBYTE;
int _tmain(int argc, _TCHAR* argv[])
{
PBYTE pByte = // at this point, after press '=',
// VA will show smart suggestion "new PBYTE" or "NULL"
return 0;
}

Could VA add one more suggesion: "new BYTE[]"?


1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 10 2016 : 2:21:09 PM
Do you have many typedefs you would want to use this with, or just a few? If there are just a few, have you considered using a VA Snippet, perhaps one like:

PBYTE $end$ = new BYTE[];


which will insert all of the line for you, just leaving you to supply the variable name, and the caret positioned for you to do so. If there are just two or three types you use this frequently with, you could have a snippet for each, with similar shortcuts, to help you select the one you want.

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