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
 auto-revealer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kfsone
New Member

USA
7 Posts

Posted - Sep 29 2017 :  3:51:02 PM  Show Profile  Reply with Quote
As an alternative or addition to the notion of having hover-based auto visualization, have a way to enable a mode where all possible autos will reveal their deduced types.

This could either be done by replacing the 'auto' with a stylized representation of the actual type which would have a "solidify" the type by replacing the underlying "auto" with the actual type.

Or it could be tooltip-like boxes appearing above/below the type.

Ultimately, when it's 3am in the morning and I'm trying to fix some crazy dense complex uber-algorithm, "auto" needs to go away for a bit, and having to mouse over every line of code is not a great solution in that scenario.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 30 2017 :  2:08:17 PM  Show Profile  Reply with Quote
Interesting idea.
quote:
This could either be done by replacing the 'auto' with a stylized representation of the actual type


I understand the tooltip part but I don't quite understand the below concept.

Somehow visualizing autos would need a seperate line to appear I think. I mean something like how references are displayed in C#.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 30 2017 :  2:12:55 PM  Show Profile  Reply with Quote
I found a screenshot of this:
https://i-msdn.sec.s-msft.com/dynimg/IC814594.jpeg

It could be displayed with a smaller font.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Oct 02 2017 :  3:03:16 PM  Show Profile  Reply with Quote
We are considering adding a refactoring command to replace "auto" with the actual type, so if this was applied to a block of code, it would achieve the same result, but at the cost of editing the code:

case=79735

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