• 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
Customizing spacing in auto-completed methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Customizing spacing in auto-completed methods?


  • Subject: Customizing spacing in auto-completed methods?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 13 Mar 2014 11:52:26 -0700

IIRC, there is a way to customize the spacing of the method calls and declarations that Xcode's autocomplete inserts. (I think it involves setting some user defaults.) I’d like to do this, because my coding style is a bit idiosyncratic and I put spaces in different places than Xcode puts them.

For example, I put spaces after the “:”s in a message expression. And in a method declaration I space it like
	- (id) initWithFoo: (Foo*)foo
instead of
	-(id) initWithFoo:(Foo *)foo
I believe there are, or used to be, defaults to customize all of that spacing.

(I know some of these autocomplete things are snippets, so I should be able to edit them in the snippet viewer in the right panel. The viewer claims to let me edit them, but when I press the Edit button everything remains disabled and non-editable. Bug?)

—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: Customizing spacing in auto-completed methods?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: editing xibs
  • Next by Date: Re: Customizing spacing in auto-completed methods?
  • Previous by thread: Re: Building plugins for Xcode 5.1
  • Next by thread: Re: Customizing spacing in auto-completed methods?
  • Index(es):
    • Date
    • Thread