c-xrefactory icon indicating copy to clipboard operation
c-xrefactory copied to clipboard

Give menu for deleting parameter

Open thoni56 opened this issue 4 years ago • 2 comments

The current "give number of argument to remove" is not the best approach. A list of formal argument names would be so much better.

thoni56 avatar Apr 13 '20 14:04 thoni56

Possibly a different feature request, but it would also be helpful to be able to remove a parameter 'at point' instead of having to place point on the function name.

shanemd avatar Sep 01 '23 07:09 shanemd

Yes, it would seem that traversing "up" to find the relevant function should not be a huge problem. However, since c-xrefactory doesn't actually build an AST it is not that straight forward. And I'm the first to admit to not knowing enough of how, or if, that would be possible.

thoni56 avatar Sep 01 '23 08:09 thoni56