Something that I miss from MATLAB editor are the options Comment block Uncomment block
in the contextual menu when one does a right click after selecting a block of text
In more recent versions Ctrl+T is bound to "Toggle Comment". This should be sufficient for almost all situations. You'll rarely ever need an explicit comment or uncomment, except for some edge cases with mixed comments.
Last edit: Tim Hoffmann 2017-03-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We won't clutter the context menu with all possible operations on that line.
As already said, the recommended way is using Ctrl+T. If you really want to use mouse only, put the comment command in one of the toolbars. That's just move-mouse + left-click then, as opposed to right-click + move-mouse + left-click.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're better to use a shortcut. With TXS, it is:
In more recent versions
Ctrl+T
is bound to "Toggle Comment". This should be sufficient for almost all situations. You'll rarely ever need an explicit comment or uncomment, except for some edge cases with mixed comments.Last edit: Tim Hoffmann 2017-03-18
We won't clutter the context menu with all possible operations on that line.
As already said, the recommended way is using
Ctrl+T
. If you really want to use mouse only, put the comment command in one of the toolbars. That's just move-mouse + left-click then, as opposed to right-click + move-mouse + left-click.