Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 show typedef defintions in tooltips
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mordachai
Tomato Guru

USA
224 Posts

Posted - Feb 12 2013 :  10:55:04 AM  Show Profile  Reply with Quote
Currently, mousing over a variable will show me the variable's type.

I don't actually know if this is a VS feature or a VA feature?

If it is VA, then it would be nice to be able to see the variable's typedef type, but also that type's expansion.

This is especially useful in C++11 now that shared_ptr and unique_ptr have special rules that make it important to know which is the smart pointer I'm looking at (knowing that this is a WidgetPtr is of dubious value, though it is much nicer to use WidgetPtr instead of unique_ptr<mytype> in all of my code, so it seems that typedef's are still useful).

[Side note: it would be of some use to be able to instantly disable VA temporarily so that I can see if a given UI interaction is due to VS or VA. By having a Quick Config option "turn on/off" check box, I could quickly ascertain if VA is responsible or not.]

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Feb 12 2013 :  5:14:57 PM  Show Profile  Reply with Quote
To disable VA simply use the menu command:

VAssistX -> Enable/Disable Visual Assist X

and the same command to re-enable VA again.

Turning On

VA Options -> Advanced -> Display -> use tomato icons in listboxes and tooltips to mark Visual Assist X content

can also help you to track what VA is doing.


For your typedef, can you try showing VA View, then place keyboard focus back into the editor, and now hover the mouse over the variable in question. What do you see? You should see the typedef, but under that, the type it came from, and then possibly further details again.

zen is the art of being at one with the two'ness
Go to Top of Page

Mordachai
Tomato Guru

USA
224 Posts

Posted - Feb 13 2013 :  09:23:02 AM  Show Profile  Reply with Quote
D'oh! I only looked in the configuration pages under the tomato toolbar button! :P
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Feb 13 2013 :  11:50:08 AM  Show Profile  Reply with Quote
Its easy when you know how

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000