For example, take this Ruby code:
(0..9).each do |i|
puts i
puts '-' if (i % 3) == 0
end
If you do Ctrl+E, it will produce this:
#(0..9).each do |i|
# puts i
# puts '-' if (i % 3) == 0
#end
But, I'd like it to produce this:
#(0..9).each do |i|
# puts i
#
# puts '-' if (i % 3) == 0
#end
You can imagine that code with many blank newlines makes it hard to distinguish if the whole block is commented, or just sections.
Is there a setting for this?
I think this is useful for usually-single-line-commented languages, like Ruby/Python, especially if your settings don't strip spaces on newline.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.