dickfala
dickfala

Reputation: 3306

XCode6 Formatting the code

Have any method can formatting the code?

I want to set hotkey in xcode6(like eclipse command + shift + f).

Have anyone know how to setting in xcode 6 for objective-c and swift?

(sorry my question description is so short. but I just want to know where is this about setting)

In xcode6 , I had go to edit->format , but I don't know which one .

thank you .

Upvotes: 0

Views: 704

Answers (1)

rckoenes
rckoenes

Reputation: 69449

To format code use ctrl+i for format the selected code.

You change this hotkey bij going to the keybindings setting page ad search for Structure > Re-Ident under Editor Menu for Data Model Comperison.

Upvotes: 2

Related Questions