codegrip icon indicating copy to clipboard operation
codegrip copied to clipboard

Toggle vector quotes

Open wurli opened this issue 2 years ago • 2 comments

This is a feature request, e.g. to turn c("a", "b", "c") into c(a, b, c) and vice-versa This is already a feature in datapasta but in my experience is a little janky.

wurli avatar Feb 09 '23 09:02 wurli

To me, that feels out of scope for codegrip, because it's not something you're likely to encounter when refactoring code. It changes the meaning of the code, not just it's shape.

hadley avatar Feb 11 '23 23:02 hadley

On reflection I think I agree. Hadn’t quite clocked that this package is about reshaping code, not changing what code does. Happy for this issue to be closed if Lionel also agrees 👍

wurli avatar Feb 12 '23 00:02 wurli