Open bergwerf opened 7 years ago
Hi.
Thanks for the good idea. Probably a simpler and still useful alternative to #1, which I ended up burning a few hours of vacation-time on the Christmas days - without finishing. Since this is a little side-project, it's much easier biting off smaller improvements one-by-one.
I usually use a tool like this to reflow comments. However, this plugin does not seem to handle comment characters, e.g.:
or
or
And so on...
One way to easily support this across many languages is to scan for a common line prefix (like
//
in C and the likes), and preserve that prefix.