Menu

#1236 Comment/Uncomment block in right click menu

None
wont-fix
nobody
None
1
2017-03-18
2017-03-17
No

Hi,

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

Discussion

  • Denis Bitouzé

    Denis Bitouzé - 2017-03-17

    You're better to use a shortcut. With TXS, it is:

    • Ctrl+T for comment,
    • Ctrl+U for uncomment.
     
    • Tim Hoffmann

      Tim Hoffmann - 2017-03-18

      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
  • Tim Hoffmann

    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.

     
  • Tim Hoffmann

    Tim Hoffmann - 2017-03-18
    • status: open --> wont-fix
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.