All we know that there is a shortcut for commenting a line
CTRL+/ on PCs and so on so forth.
Since many languages permit for commenting blocks of code with special delimiters, say
-%, (Multiline comments would fall into this category some times), I would like to know whether ATOM.IO is able to do that.
CTRL+/ would toggle to comment all the highlighted lines, whereas what I aim for is to have a shortcut for commenting the blocks such that
x = 30 <this is my comment highlighted by <>> <this is another comment> y = 2 <x,y are just variables> assert(x + y == 32) <and this is a multiline highlighted comment which I want to toggle to comment>
and after hitting, for instance
x = 30 %-this is my comment highlighted by <>-% %-this is another comment-% y = 2 %-x,y are just variables-% assert(x + y == 32) %-and this is a multiline highlighted comment which I want to toggle to comment-%
I don’t see any particular difficulty on implementing this since special characters, such as
$$ (in LaTeX), already do exactly when typed.