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
 Go To Implementation for auto
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

smurfjones
New Member

5 Posts

Posted - May 30 2014 :  4:33:36 PM  Show Profile  Reply with Quote
I use 'Go To Implementation' (alt+g) all the time. I also have been starting to use the auto keyword very frequently. For types declared auto pressing alt+g on the auto keyword taking me to the implementation of the deduced type would be golden.

sean
Whole Tomato Software

USA
2817 Posts

Posted - May 30 2014 :  10:34:46 PM  Show Profile  Reply with Quote
In many cases, it already does. If you have examples where it is failing, please post. Work on auto support is an ongoing endeavor.

Also, if you have build 2036, goto related (alt+shift+g) is useful on variables declared as auto.
Go to Top of Page

smurfjones
New Member

5 Posts

Posted - Jun 03 2014 :  4:27:42 PM  Show Profile  Reply with Quote
quote:
Originally posted by sean

In many cases, it already does. If you have examples where it is failing, please post. Work on auto support is an ongoing endeavor.

Also, if you have build 2036, goto related (alt+shift+g) is useful on variables declared as auto.



I didn't have the latest version so this wasn't working, but I got latest build and its working now.

However, many times my auto declarations are to a templated type, and the alt+g will take me to the definition of the template itself not templated type.

so for example alt+g on

std::shared_ptr< Foo > pFoo = make_foo();

written as

auto pFoo = make_foo();

will take me to the definition of shared_ptr rather than foo.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 03 2014 :  4:35:26 PM  Show Profile  Reply with Quote
We intend to offer up more types for Goto Related (alt+shift+g) that would fit the bill in your example. case=82118
Go to Top of Page

Predelnik
Senior Member

Russia
37 Posts

Posted - Jun 23 2014 :  09:14:31 AM  Show Profile  Reply with Quote
I would like to second this, for unique, shared ptr it makes a lot of sense to use auto because name with templated parameter may be kinda long and redundant, but in that case there's no way to go to related template argument definition because it's hidden inside auto. It would be nice if "Goto related" would work for such cases.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19025 Posts

Posted - Jun 26 2014 :  1:04:58 PM  Show Profile  Reply with Quote
Thank you for the update, it is good to know what people are interested in and will find useful, this helps us to prioritise things sensibly. We are looking into this, but I don't have an estimate for when it will be done yet.

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 19 2014 :  12:33:55 AM  Show Profile  Reply with Quote
case=82118 is implemented in build 2047
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