※ 本文為轉錄連結,轉錄者為 ott
看板 Knuckles_note
作者 Knuckles (站長 那克斯)
標題 [Xcode] 常用的快速鍵
時間 2014年06月13日 Fri. AM 09:36:43


⌘ = Command
⇧ = Shift
⌥ = Option/Alt
^  = Control
← → = Left/Right Arrow Keys
↑ ↓ = Up/Down Arrow Keys


Xcode 預設的快速鍵

編輯器

ctrl+n    ↓
ctrl+p    ↑

ctrl+b    ←
ctrl+f    →

ctrl+a , command+←   home  移到行首
ctrl+e , command+→   end   移到行尾

ctrl+k          刪除目前位置到行尾
command+delete  刪除目前位置到行首
fn+delete       刪除下個字元


command+/   註解
command+]   縮排
command+[   解縮排
ctrl+i      自動調整縮排

option+command+[  整行往上移
option+command+]  整行往下移



command+f   在此檔案裡尋找

shift+command+o   接著輸入檔名,快速開啟某個檔案

ctrl+command+↑   切換到配對的 .h 檔或 .m 檔

ctrl+command+←   切換到上個檔
ctrl+command+→   切換到下個檔


command+\   加入/移除中斷點

command+.   切換顯示自動完成


視窗

command+,    開啟喜好設定 (Preferences)

command+r    編譯與執行 (Run)

command+1    顯示左邊的檔案瀏覽器


自訂的快速鍵

ctrl+h  Home  Move to Beginning of Line
ctrl+j  ←    Move Backward
ctrl+l  →    Move Forward
ctrl+;  End   Move to End of Line


參考這篇加上自訂的指令 http://disp.cc/b/11-85rs

自訂指令的快速鍵

command+d    複製目前這一行
shift+delete 刪除目前這行
shift+enter  在目前這行下面新增一行

--
※ 作者: Knuckles 時間: 2014-06-13 09:36:43
※ 編輯: Knuckles 時間: 2014-09-05 02:00:27
※ 看板: ott 文章推薦值: 0 目前人氣: 0 累積人氣: 8705 
※ 本文也出現在看板: KnucklesNote
分享網址: 複製 已複製
ott 轉錄至看板 ott (使用連結) 時間:2014-08-10 18:34:34
guest
x)推文 r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇