Xcode快捷鍵蒐集 陸續整理中

2021-06-21 12:07:46 字數 1377 閱讀 4681

xcode快捷鍵蒐集

command+b 編譯程式,建議任何時候多用此命令檢查是否有錯誤 xcode實時的編譯,應該不用了吧?

command+r 編譯並執行程式

xcode 常用快捷鍵及**自動排版

xcode常用快捷鍵,網上找的總結一下,特別是格式化**

隱藏xcode command+h

退出xcode command+q

關閉視窗 command+w

關閉所有視窗 command+option+w

關閉當前專案 command+control+w

關閉當前檔案 command+shift+w

儲存檔案 command+s

儲存所有檔案 command+option+s

還原到儲存時狀態 command+u

專案中查詢 command+shift+f

查詢下乙個 command+g

查詢上乙個 command+shift+g

瀏覽原始檔 command+double click 

開啟標頭檔案 command+shift+d 

切換頭/原始檔 command+option+上箭頭

撤銷 command+z

重複 command+shift+z

剪下 command+x

複製 command+c

貼上 command+v

貼上並匹配格式 command+option+shift+v

全選 command+a

注釋 command+/

檔案首行 command+上箭頭

檔案末 command+下箭頭

行首 command+左箭頭

行末 command+右箭頭

上一單詞 option+左箭頭

下一單詞 option+右箭頭

上一拆分單詞 control+左箭頭

下一拆分單詞 control+右箭頭

tab :接受**提示

esc :顯示**提示選單

下個build警告或錯誤 command+=

前個build警告或錯誤 command+shift+=

以除錯方式執行程式 command+y

繼續(在除錯中)command+option+p

編譯執行 command+r

xcode  版本:4.2和4.2之前的版本

選中需要格式化** -> edit -> format ->re-indent

xcode 版本:4.2之後的版本

選中需要格式化** -> editor -> structure ->re-indent 或者

選中需要格式化** -> 右擊 ->選中 structure ->re-indent

ctrl+j好像高顯選擇內容

Xcode快捷鍵整理

1.檔案 cmd n 新檔案 cmd shift n 新專案 cmd o 開啟 cmd s 儲存 cmd opt s 儲存所有檔案 cmd shift s 另存為 cmd w 關閉視窗 cmd q 退出xcode cmd shift w 關閉檔案 2.編輯 cmd 左縮排 cmd 右縮排 cmd s...

Xcode快捷鍵整理

做ios開發,避免不了的就是要和xcode打交道,如果對xcode的快捷方式熟練的話,這樣會對我們專案開發速度有很大的提高。也是對你能力的一種提公升,下面就是abel整理的一些資料,希望有一些幫助 1 檔案類 新建專案 shift command n 新建檔案 command n 開啟專案 comm...

VC 6中的一些快捷鍵(陸續補充中。。。)

1.f12 前往定義處 2.f3 查詢檔案中下乙個字串 3.shift f3 查詢檔案中上乙個字串 4.ctrl f3 查詢,如果當前游標在字串上,則選中游標所在的字串,類似ctrl f 5.f5 編譯並通過vc執行 6.ctrl f5 不通過vc,直接執行編譯後的exe檔案 7.shift f5 ...