iOS - Xcode 常用快速鍵

來源:互聯網
上載者:User

標籤:全屏   視窗   forward   option   檔案處理   end   設定   開啟檔案   代碼   

1、檔案處理快速鍵
  command + shift + n              建立項目      command + n                      建立檔案  command + control + n            建立空檔案      command + o                      開啟檔案      command + w                      關閉視窗    command + shift + w              關閉檔案      command + u                      還原到儲存時狀態      command + s                      儲存  command + shift + s              另存新檔  command + option + s             儲存所有檔案      command + control + ??/??        在程式中 .h 和 .m 相關的檔案間快速切換  command + control + ??/??        前後瀏覽問價之間跳轉      command + ??/??                  檔案頭部和尾部之間跳轉  command + l                      調轉到第幾行,開啟跳轉行輸入框      command + control + f            進入/退出全屏      command + 0                      顯示/隱藏 導航器面板  command + option + 0             顯示/隱藏 工具面板  command + shift + y              顯示/隱藏 調試視窗      command + option + enter         開啟助理編輯器視窗  command + enter                  關閉助理編輯器視窗  option + 單擊項目導航器中檔案       在輔助編輯器中開啟檔案      command + 1                      開啟 工程導航器  command + shift + f              開啟 搜尋導航器  command + shift + 0              開啟 文檔和參考      command + shift + o              開啟 跳轉欄和快速開啟搜尋輸入,快速開啟檔案      command + shift + j              快速地在程式碼程式庫定位檔案,開啟摺疊的檔案夾      option + 單擊類或者方法名           開啟 快速協助  option + 雙擊類或者方法名           快速跳轉至文檔  command + 單擊類或者方法名          快速跳轉至文檔  command + ctrl + j               快速跳轉至文檔      control + 1                      開啟 “Show Related Items” 菜單,將游標放在了任何方法中,                                   點該鍵,就可以通過彈出的視圖訪問該方法的所有調用者和被調用者。      command + j                      選擇操作視窗,可展示一個小尺寸的彈出視圖      command + option + shift + 單擊   在檔案上執行該鍵,可展示一個小尺寸的彈出視圖,可以查看想要                                   開啟它的地方,比如輔助編輯器、標籤或者視窗等。
2、代碼編輯快速鍵
  command + option + ??           摺疊代碼塊  command + option + ??           取消摺疊代碼塊  command + option + ??           摺疊全部代碼塊  command + option + ??           取消摺疊全部代碼塊  control + u                     取消摺疊全部代碼塊      command + option + [ ]          上下行動程式碼塊      command + [ ]                   左右縮排     command + /                     注釋或取消注釋      esc                             顯示代碼提示菜單  tab                             接受代碼提示  control + .                     迴圈瀏覽代碼提示  control + shift + .             反向迴圈瀏覽代碼提示  control + /                     移動到代碼提示中的下一個預留位置      control- + f                     前移游標,向右一個字元(forward)  control- + b                     後移游標,向左一個字元(backward)      control- + p                     上移游標,移動到上一行(previous)  control + -n                     下移游標,移動到下一行(next)      control- + a                     移動游標到本行行首  control- + e                     移動游標到本行行尾(end)      control + t                     調換游標兩邊的字元(transpose)  control- + d                     刪除游標右側的一個字元(delete)  control + k                     刪除游標右側的所有字元(kill)       command + f                     搜尋  command + g                     搜尋下一處  command + shift + g             搜尋上一處      control + l                     將插入點置於視窗正中      command + d                     添加書籤  command + control + s           建立快照
3、運行調試快速鍵
  command + b                     編譯  command + r                     編譯並運行(不觸發斷點)  command + y                     編譯並調試(觸發斷點)  command + .                     停止      command + shift + k             清理      F6                              單步調試  F7                              跳入  F8                              繼續      command + \                     設定或取消斷點  command + option + \            允許或禁用當前斷點  command + option + b            查看全部斷點

iOS - Xcode 常用快速鍵

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.