Feature request #21286
[Expression]Add shortcut for (multiple) lines commenting when writing expressions
|Pull Request or Patch supplied:||No||Resolution:||wontfix|
|Easy fix?:||No||Copied to github as #:||29104|
I often play with expression functions and while looking for the best expression, I sometimes need to comment parts of the code being written in order to test the behavior of the rest or ignore it (and save it for later). This needs to be done by adding '--' to all the lines I want to hide and again remove those characters later if I want to enable some lines. A bit not handy...
It could be nice to allow selection of multiple lines and pressing either a key or from the contextual window allow to apply "Comment" or "Uncomment" functions.
#4 Updated by Harrissou Santanna over 1 year ago
I'm not really sure. Now that I know there's no need to comment each line one by one, my workflow is sped up but the request was also about a shortcut, ie I select the text or the rows and press some keys (or a button?) and they are (un)commented, like you can do on most of text editors.