Re: Commenting/Uncommenting blocks of code at once
Re: Commenting/Uncommenting blocks of code at once
- Subject: Re: Commenting/Uncommenting blocks of code at once
- From: Justin Anderson <email@hidden>
- Date: Wed, 5 Oct 2005 14:20:25 -0400
If you look in the scripts menu (the curled paper icon between
"Windows" and "Help") there's a script for commenting out selected
code. The script has a keyboard shortcut of cmd-/.
If you take these quotation marks to be the selection, it works like
this:
"foo" becomes "//foo"
"//foo" becomes "foo"
//"foo" becomes //"//foo"
"////foo" becomes "//foo"
So when uncommenting, be sure the start of your selection goes
exactly to the start of the comment.
Justin
On Oct 5, 2005, at 2:03 PM, Berndt Jung wrote:
Is there some way to comment/uncomment blocks of code? I've been
using Eclipse for quite some time and am used to some of it's
features. I'm sure that there is some way to write an applescript to
do so, but I have yet to dabble in applescript.
Thanks,
Berndt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden