Author |
Topic |
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jul 24 2020 : 09:15:31 AM
|
I do really need a feature that allows me to pull documention comments up and down. When implementing interfaces I want the inferface documentation to be inserted to the implemented methods, when overriding methods from base classes I need it too. The otherway round its occasionally also useful, one has a overridden method documented but not the base class's.
Thanks for saving my Ctrl+C/Ctrl+V |
|
feline
Whole Tomato Software
United Kingdom
19024 Posts |
Posted - Jul 24 2020 : 11:05:20 AM
|
We are considering adding the ability to Implement Virtual Methods to copy the comments from the base class and add them, along with the function, to the derived class. Would this cover the bulk of the cases you run into?
case=142205
Are you also aware of Alt-Shift-G for Goto Related, which will list and allow you to jump to the derived or base versions of the virtual function? Not quite the same, but helpful for quickly moving to where the documentation already is. |
zen is the art of being at one with the two'ness |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jul 24 2020 : 11:24:04 AM
|
Would surely cover most cases. Actually point is not having access to the existing documentation but documenting new derived classes and methods. Whenever you implement an interface, you may want to document the functions, and having the base documentation from the interface/base class copied is already a good start. |
|
|
feline
Whole Tomato Software
United Kingdom
19024 Posts |
Posted - Jul 25 2020 : 07:56:33 AM
|
Yes, if you are not changing anything at all, then it seems slightly pointless implementing the virtual function. But also having the base documentation is a sensible first step.
This is why I wondered if you knew about Alt-Shift-G, since this helps you check out the base class documentation. |
zen is the art of being at one with the two'ness |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
|
feline
Whole Tomato Software
United Kingdom
19024 Posts |
Posted - Aug 19 2020 : 06:53:54 AM
|
Thank you for the link, useful to know about for now. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|