LoginSignup
1
2

Xcodeで保存時にコードを自動整形する設定(WIP)

Last updated at Posted at 2023-03-25

Xcodeのコード整形機能(手動)

こっちは手動で整形する方法です。

1. EditorからRe-Indent

  • 整形範囲を選択 > メニューバー > Editor > Structure > Re-Indent
    image.png

2. ショートカットキー

  • 整形範囲を選択 > Control + i
    (Fix:Control + l はRe-Indent)

ライブラリによるコード自動整形

完全にタイトル詐欺状態だったので追記中...

SwiftFormatを利用する

WIP...

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2