Sometimes I want to align code in a very specific way. For example (this is systemverilog, by the way):
1 THING THING_INSTANCE(
2 .port(a_signal),
3 .this_port_is_longer(sig),
4 .shorter_port(really_long_signal)
5 )
I manually move all the parentheses so that it looks like this:
1 THING THING_INSTANCE(
2 .port (a_signal ),
3 .this_port_is_longer(sig ),
4 .shorter_port (really_long_signal)
5 )
It’s noa big deal to do it manually, but I’d really love to be able to, for example, select the ( of lines 2 through 4 and hit a shortcut key to align all of the selections to match the furthest one out (line 3 in the example).
Any plugins that can do this?