Customizing spacing in auto-completed methods?
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