• 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: text editor - shift left/right
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text editor - shift left/right


  • Subject: Re: text editor - shift left/right
  • From: Prachi Gauriar <email@hidden>
  • Date: Wed, 31 May 2006 22:29:31 -0500


On May 31, 2006, at 5:23 PM, Steve Mills wrote:

On May 31, 2006, at 14:09, Steve Mills wrote:

On May 31, 2006, at 12:06, Fritz Anderson wrote:

I'm confused. Doesn't Xcode automatically reindent one-line-or-more
pastes, making the original indentation irrelevant?

It does if you have the pref turned on, but I have it off because it
does some things in a way that I don't like. Maybe I'll turn it back
on for a while and see if anything has changed in the past few releases.

Well. I've had the "Syntax-aware indenting" pref turned on since my last post (no other prefs under that checkbox are turned on because they annoy me). I was just typing some new code and found that I couldn't type a tab between a type and a variable. I started with this temporary test code, not indented at all (I do that for test code so it's more obvious):

<snip>

Only after deleting the space, hitting tab did nothing. Nada. Zip. Zilch. Yep, that's a mighty fine feature there. Anybody else see this?

Go to Xcode Preferences:Indentation. If the Tab Indents popup is set to "Always", hitting tab *always* reindents the current line. If you don't like this behavior, choose "In leading white space" to only cause indent the line when you hit tab when the cursor is in the whitespace at the beginning of the line.


-Prachi

_______________________________________________
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: text editor - shift left/right
      • From: Steve Mills <email@hidden>
References: 
 >Re: text editor - shift left/right (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: DWARF format and stripping
  • Next by Date: Re: text editor - shift left/right
  • Previous by thread: Re: text editor - shift left/right
  • Next by thread: Re: text editor - shift left/right
  • Index(es):
    • Date
    • Thread