• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Visual Studio-style indent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Visual Studio-style indent
      • From: "William H. Schultz" <email@hidden>
    • Re: Visual Studio-style indent
      • From: Nir Soffer <email@hidden>
References: 
 >Visual Studio-style indent (From: Steven Fisher <email@hidden>)
 >Re: Visual Studio-style indent (From: Rob Rohan <email@hidden>)
 >Re: Visual Studio-style indent (From: Steven Fisher <email@hidden>)
 >Re: Visual Studio-style indent (From: Kay Roepke <email@hidden>)
 >Re: Visual Studio-style indent (From: Steven Fisher <email@hidden>)
 >Re: Visual Studio-style indent (From: ccsccs7 <email@hidden>)
 >Re: Visual Studio-style indent (From: j o a r <email@hidden>)

  • Prev by Date: Re: Linking in CW shared lib vs. Xcode framework
  • Next by Date: Window min/max height trouble
  • Previous by thread: Re: Visual Studio-style indent
  • Next by thread: Re: Visual Studio-style indent
  • Index(es):
    • Date
    • Thread