baxissimo
Starting Member
1 Posts |
Posted - Feb 05 2010 : 12:57:05 PM
|
Most of the time (always?) only one or the other of "Create Implementation" or "Create Declaration" applies. If I've got the method in the .cpp selected, it's "Create Declaration", if it's the declaration I've got selected, it's "Create Implementation" I want.
So just make these into a single action that does one or the other depending on what's selected. Really there's a lot of parallel between these and "Open corresponding file". It would be annoying if that were split into two actions requiring you to use one for going to the header and a different one for going to the source.
And while you're at it, please create an icon for the merged action so it'll look nice on my toolbar. :-)
|
|
feline
Whole Tomato Software
United Kingdom
18946 Posts |
Posted - Feb 08 2010 : 09:55:01 AM
|
An interesting idea. We get quite a few requests for Create Implementation to work out if the Implementation already exists, so a second one is not created. We are also looking into allowing you to trigger these commands on several functions at once, via VA Outline. So this change might clash with these changes.
Having said that, you should be able to write a very simple IDE macro to trigger both VA commands, one after the other, which you could then put onto your toolbar manually. This FAQ entry should help to explain how to do this:
http://docs.wholetomato.com?W382 |
zen is the art of being at one with the two'ness |
|
|