Re: Visual Studio-style indent
Re: Visual Studio-style indent
- Subject: Re: Visual Studio-style indent
- From: Paul Walmsley <email@hidden>
- Date: Mon, 07 Aug 2006 09:24:18 +0100
Does Visual Studio have a Comment/Uncomment command? I couldn't find
one in the editor I used for VBA.
Google claims that its the ever so elegant:
Comment: Ctrl+K, Ctrl+C
UnComment: Ctrl+K, Ctrl+U
(Note: Sarcasm. It's not elegant at all.)
Xcode has it right with: Cmd+/
I would disagree with this -- with having just a single macro, Xcode
gets easily confused. Try selecting a block of code whose first line
happens to be a comment. What happens? It strips the leading '//' from
that line and leaves the rest uncommented. In order for it to do
something unambiguous you explicitly need separate comment and uncomment
macros.
Besides, if you don't like the keystrokes, change them. As someone
who's used emacs for years, I think having keystroke sequences is really
powerful. Lest anyone thing that is a historical relic It was only a
few months ago that I *had* to use gdb within emacs on the mac due to
some of the horrific Xcode 2.2 debugger bugs...
Paul
_______________________________________________
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