Jump to content

Recommended Posts

Posted

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

Posted
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)

 

Posted

> 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy