Re: Newbie questions about XCode
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