torstenanders Posted September 24, 2016 Posted September 24, 2016 Dear all, I am trying to find a way to quickly comment/uncomment text regions. I use such a features all the time in various programming environments, e.g., to add tests and then taking them out again... I cannot find such a feature in the Opusmodus programming editor (which seems to be CCL Hemlock). I checked the Editor Commands (under help), and http://trac.clozure.com/ccl/wiki/CocoaIde/KeyBindingsComparison (proposed in another forum entry), but without success so far. Is anyone aware of such a shortcut? I would be surprised if it does not exist... Thanks! Best, Torsten Found at least a half-way solution: M-# That allows to comment a region, but uncomment is seemingly not there. Best, Torsten damian 1 Quote
opmo Posted September 25, 2016 Posted September 25, 2016 Emacs has M-x comment-or-uncomment-region, but that’s missing in Hemlock. If it’s Lisp expressions you’re commenting out, you can always prepend #+not #+not (defun foo (x) x) Quote
torstenanders Posted September 29, 2016 Author Posted September 29, 2016 > If it’s Lisp expressions you’re commenting out, you can always prepend #+not Thanks, but I think added a block comment with M-# is more clear, as the comment is formatted as such... Torsten Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.