• 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: Jens Alfke <email@hidden>
  • Date: Wed, 3 Feb 2010 10:52:05 -0800


On Feb 3, 2010, at 5:00 AM, Johan Lund wrote:

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.


5. press tab (it inserts another tab in addition to the one that was already there and places the cursor two tabs from the start of the line)

It sounds like you're expecting the Tab key behavior to be "auto- indent the current line" instead of "insert a tab". There's a pref for that — the "Tab indents:" pop-up in the Indentation pref pane.


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.


BTW, you might want to try out the TextMate editor, which is hyper- configurable and has a lot of power-user editing features. The disadvantage is that it's not integrated with the compiler so it doesn't understand the exact syntax of the code and can't be as smart about things like autocomplete.

—Jens _______________________________________________
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: Johan Lund <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>)

  • Prev by Date: Re: Xcode performance issues over time
  • Next by Date: Undefined symbols when building unit testing bundle in Release configuration
  • Previous by thread: Re: Newbie questions about XCode
  • Next by thread: Re: Newbie questions about XCode
  • Index(es):
    • Date
    • Thread