Re: How to comment out large section of codes in IDL? [message #56042 is a reply to message #56035] |
Fri, 28 September 2007 18:24   |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Fri, 28 Sep 2007 16:49:58 -0700, Mike wrote:
> On Sep 28, 10:37 am, "Jeff N." <jnett...@utk.edu> wrote:
>
>> Does this feature have a keyboard shortcut? There isn't one listed
>> beside the command in the menu, as there is for other menu commands,
>> so i assume there isn't one. If there isn't, i wish there was :(
>
> It is bound to C-;
>
> I've never used it much - instead I use emacs's comment region (M-x
> comment-region). To uncomment, just use C-u M-x comment-region.
I think he meant IDLDE, not IDLWAVE. Also, it's [C-c ;]. Another fun
one is M-;, which in Emacs 22 will move you to a comment or create a
new one in an intelligent way at the current line, or (un-)comment
highlighted blocks. My favorite part is that this function is called
`comment-dwim', for Do What I Mean.
JD
|
|
|