T O P I C R E V I E W |
Adequat |
Posted - Sep 22 2014 : 08:59:14 AM This feature is nice but it has a drawback that reduces its interest: you have to click on the class name to have "Implement virtual methods" available from the refactor menu. This means VA will insert the declarations to some random position (random from the user point of view). This means I have to do a cut/paste to move the declaration where they better fit.
However, it would be easy to have a solution to this: the "Implement virtual methods" function should be available in the menu *where* you click inside the class, and the declarations should be inserted there.
|
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Sep 24 2014 : 11:18:35 PM That makes sense, and I see the logic and appeal of this idea. I have put in a feature request to see what our developers make of this:
case=85241 |
Adequat |
Posted - Sep 24 2014 : 02:17:11 AM quote: what about when you trigger it on an existing function? Do the new functions go above or below?
I would suggest: as when you press "return" at the start of a line in a text editor: the blank line is inserted before the existing line. |
feline |
Posted - Sep 23 2014 : 8:08:39 PM An interesting idea. In very broad terms this gives us two options, blank lines in between groups of functions, or on a member function name. I know there are other places, but hopefully we can agree to ignore keywords, parameters, etc.
Triggering the command on a blank line is simple enough, but what about when you trigger it on an existing function? Do the new functions go above or below? |