• 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: Newbie questions about XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie questions about XCode


  • Subject: Re: Newbie questions about XCode
  • From: Johan Lund <email@hidden>
  • Date: Thu, 4 Feb 2010 12:07:40 +0100


Go to Preferences > Indentation and choose Automatically insert closing "}"
This should be checked by default do doubt.

It annoys a lot of people (including me). Controversial features that do magic things should be off by default.

Why is it annoying?


If you have the following methods
myAssert1
myAssert2
myAssert3
myAssert4
myHelloWorld
... and let's say that goes on for quite a bit more so its not convenient to choose it from the list.
Then you are forced type the whole name! Even if have typed "MyA" - XCode doesn't fill in the rest up to "myAssert".

I don't see this. If I type "[NSArray arr" it suggests "array", then I hit Tab and "array" is entered, then I press "W" and it suggests "WithArray:" and so forth. I'm hitting tab a few more times than what you'd like, but it's pretty close.

You were just lucky this time. :) There happened to be something named just "array". If there hadn't been and instead there were a bunch of arrayABCXXXX, XCode would just pick one and you would either have to continue typing until they differ or complete it and go back and delete the XXXX and type in manually what differs there or continue completion.
 _______________________________________________
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: Newbie questions about XCode
      • From: Jens Alfke <email@hidden>
References: 
 >Newbie questions about XCode (From: Johan Lund <email@hidden>)
 >Re: Newbie questions about XCode (From: Ian Jackson <email@hidden>)
 >Re: Newbie questions about XCode (From: Johan Lund <email@hidden>)
 >Re: Newbie questions about XCode (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Newbie questions about XCode
  • Next by Date: Re: Newbie questions about XCode
  • Previous by thread: Re: Newbie questions about XCode
  • Next by thread: Re: Newbie questions about XCode
  • Index(es):
    • Date
    • Thread