Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 covert dot to -> and smart pointers

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
_Ramirez_ Posted - Apr 01 2009 : 08:11:30 AM
Conversion from dot to -> is very useful as one doesn't have to think whether variable is pointer or not, and is much easier to type. But when working with smart pointers that have their own members but can also be accessed using -> things could be better. The feature currently works as expected in that it doesn't covert dot to -> but it would be useful to allow some easier method of typing -> instead of dot. Dot followed by shift (like in m_) comes to mind or ctrl + dot. Or maybe there can be a separate setting for classes that have overloaded operator -> so that one can say if he wants the dot always to be converted.
3   L A T E S T    R E P L I E S    (Newest First)
kevinsikes Posted - Jun 19 2009 : 3:35:35 PM
To control this feature, use VA Options | Advanced | Corrections | Convert dot to -> if operator -> is overloaded
sean Posted - Jun 12 2009 : 8:59:55 PM
case=999 is implemented as an option in build 1727
sean Posted - Apr 01 2009 : 10:49:07 AM
I think that adding a different command / keybinding would make it harder / less likely to be used. So, do people think it should be a separate option or should the one option start making the conversion happen for smart pointers too? We have an open feature request for this (case=999).


Alternatively, case=1983, is a request to add '.' as a reverse conversion:
typing . after -> deletes the -> and leaves just .

for smart pointers that could be:
typing . after . deletes the . and leaves just ->


Anyone have any thoughts on this?

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