Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 New Refactoring: Extract typedef.

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
Rain Dog Posted - Feb 15 2009 : 10:09:35 PM
Would enable you to select some code, and extract a typedef such as:

std::map<int, std::pair<int,std::string> > mymap;

into:

typedef std::map<int, std::pair<int,std::string> > map_t;


I think it could be taken one step further and automatically suggest you create typedefs for STL container iterators for const_iterator and iterator as all STL containers support them.
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 21 2009 : 11:30:15 AM
From the other thread I have put in a feature request for a new token / reserved word in VA Snippets:

case=24243
feline Posted - Feb 20 2009 : 11:50:44 AM
We are discussing a possible solution, via VA Snippets, in this thread:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=8529
Rain Dog Posted - Feb 16 2009 : 9:49:53 PM
I have, but it is not the same as simply resting the cursor on a variable and having a typedef created for it.
accord Posted - Feb 16 2009 : 3:30:41 PM
Have you seen this topic?

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=7954

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