Author |
Topic ![Next Topic Next Topic](icon_go_right.png) |
|
smurfjones
New Member
![](icon_star_green.gif)
5 Posts |
Posted - May 30 2014 : 4:33:36 PM
|
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
![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif)
USA
2817 Posts |
Posted - May 30 2014 : 10:34:46 PM
|
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 Go to Top of Page](icon_go_up.png) |
|
smurfjones
New Member
![](icon_star_green.gif)
5 Posts |
Posted - Jun 03 2014 : 4:27:42 PM
|
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 Go to Top of Page](icon_go_up.png) |
|
sean
Whole Tomato Software
![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif)
USA
2817 Posts |
Posted - Jun 03 2014 : 4:35:26 PM
|
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 Go to Top of Page](icon_go_up.png) |
|
Predelnik
Senior Member
![](icon_star_green.gif) ![](icon_star_green.gif) ![](icon_star_green.gif)
Russia
37 Posts |
Posted - Jun 23 2014 : 09:14:31 AM
|
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 Go to Top of Page](icon_go_up.png) |
|
feline
Whole Tomato Software
![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif)
United Kingdom
18843 Posts |
Posted - Jun 26 2014 : 1:04:58 PM
|
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 Go to Top of Page](icon_go_up.png) |
|
sean
Whole Tomato Software
![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif) ![](icon_star_red.gif)
USA
2817 Posts |
Posted - Sep 19 2014 : 12:33:55 AM
|
case=82118 is implemented in build 2047 |
![Go to Top of Page Go to Top of Page](icon_go_up.png) |
|
|
Topic ![Next Topic Next Topic](icon_go_right.png) |
|