Is there exist a lightweight code editor with the ability of smart reflow of comments, as shown here?
50-characters column |<---------------------------------------------->| // Initial code if (a == b) { // Test test test test test test test test test test test test test test test test test test test test test } // Then we move the caret on the comment, press // Ctrl-Q and this long line will be splitted into 3 // shorter ones: if (a == b) { // Test test test test test test test test // test test test test test test test test // test test test test test } // Then we may think that the 2nd line contains // some non-relevant information and trim it slightly: if (a == b) { // Test test test test test test test test // test test // test test test test test } // And then, after the 2nd line is trimmed, we press // Alt-Q again and now we have 2 lines instead of 3: if (a == b) { // Test test test test test test test test // test test test test test test test } I know, Vim and Emacs probably can do it, but they are too hard to use for me. Also, Visual Studio Code and Sublime Text can do it - sometimes I use them in my work, but currently I need editor which will start faster (instantly) and with less RAM consumption.
