先在Android Studio » proferences » IDE Settings » Appearence » 設定Theme Darcula 黑色
之後就能在Color & Fonts » Font 更改字體和行距 我這設定是16字體 行距1.4
還可以在Editor » Appearance 勾選 show line numbers 出現行數
如果要更改{ } 排法的話
Android Studio » proferences » Code Style » Java » Wrapping and Brances » Braces placement 把全部改成next line 就能{ }並排了
PS: MAC自動排版快捷鍵 ⌘⌥L
- Command 鍵 ⌘
- Shift 鍵 ⇧
- Option 鍵 ⌥
- Control 鍵 ⌃
- Caps Lock 鍵 ⇪
如果要自動換行
把soft Wraps 最上面兩個打勾
沒有留言:
張貼留言