Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Replace 'auto' with actual type

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
smurfjones Posted - Jan 22 2015 : 12:42:25 PM
Upon hovering over a variable declared auto the deduced type is displayed as a tooltip. This is great. What would would be awesome is a way to change the auto keyword to the actual deduced type. Perhaps you could overload the "Create From Usage" feature to do this?

Thank you!
8   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Oct 12 2017 : 07:26:13 AM
This is helpful, it is good to know what helps and you are looking to do here. I have put a note onto the case about this.
Blake Posted - Oct 11 2017 : 7:38:16 PM
Just adding my support for this feature.
Most people in the office find having a typename somewhere on the declaration line aids readability (outside of complex nested types), but being able to write auto x = Fn(), then alt+shift+q-ing the declaration to change it to the type when cleaning things up would be good.