国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 課堂 > 電腦知識 > 正文

xcode常用快捷鍵操作大全

2024-05-08 15:15:10
字體:
來源:轉載
供稿:網友

  新建項目 command+shift+n

  新建文件 command+n

  新建空文件 command+control+n

  打開 command+o

  關閉窗口 command+w

  保存所有文件 command+option+s

  還原到保存時狀態 command+u

  創建快照 command+control+s (保存文件快照,以后可進行對比修改情況)

  左縮進 command+[

  右縮進 command+]

  項目中查找 command+shift+F

  查找下一個 command+g

  查找上一個 command+shift+g

  用選擇的查找 command+e

  go to line command+l

  下一個填充 control+.

  填充列表 option+esc

  顯示拼寫和語法 command+shift+;

  檢查拼寫 command+;

  打開頭文件 command+shift+d

  切換頭/源文件 command+option+上箭頭

  類瀏覽 command+shift+c

  Bulid and Run 斷點關 command+r

  Build and Debug 斷點開 command+y

  下個Build警告或錯誤 command+=

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

  注釋 command+/

  文件首行 command+上箭頭

  文件末 command+下箭頭

  行首 command+左箭頭

  行末 command+右箭頭

  上一單詞 option+左箭頭

  下一單詞 option+右箭頭

  中間顯示光標位置 control+l

  方法組列表 control+2

  刪除此行光標前所有內容 control+delete

  斷點 command+option+b

  當前行插入斷點 command+

  Pause command+option+p

  Step Into command+shift+i

  Step Into Instruction command+option+shift+i

  Step Over command+shift+o

  Setp Over Instruction command+option+shift+o

  Setp Out command+shift+t

  查開發文檔 command+option+click

  打開頭文件 command+shift+d

  整理了一下Xcode快捷鍵,史上最全!

  其實就是設置里面的快捷鍵變成了文字版,費了我不少工夫。。。希望對大家有幫助

  可能有些新手剛用mac,不知與windows鍵對應,現在說明一下,command相當于ms鍵盤的win鍵,option相當于alt,鍵值一樣,系統偏好設置里面可以更改。

  xcode相關:

  關于xcode 可設

  偏好設置 command+,

  清空緩存 可設

  隱藏xcode command+h

  隱藏其它 command+option+h

  顯示全部 可設

  退出xcode command+q

  文件相關:

  新建項目 command+shift+n

  新建文件 command+n

  新建空文件 command+control+n

  打開 command+o

  在新窗口中打開 command+option+o

  快速打開 command+shift+d / command+shift+alt+d (不知區別是什么)

  清空最近打開文件 可設

  清空最近打開項目 可設

  Get Info command+i

  顯示檢查器? command+option+i (效果和Get Info一樣,不知區別)

  關閉窗口 command+w

  關閉所有窗口 command+option+w

  關閉當前項目 command+control+w

  關閉當前文件 command+shift+w

  保存文件 command+s

  保存所有文件 command+option+s

  另存為 command+shift+s

  復本另存為 command+option+shift+s

  還原到保存時狀態 command+u

  創建快照 command+control+s (保存文件快照,以后可進行對比修改情況)

  顯示快照 可設 (File->Snapshots)

  打印 command+p

  編輯相關:

  撤銷 command+z

  重復 command+shift+z

  剪切 command+x

  復制 command+c

  粘貼 command+v

  粘貼并匹配格式 command+option+shift+v

  刪除 可設

  全選 command+a

  復制(Duplicate) 可設

  重構 command+shift+j (選中方法名)

  轉換為objc2.0 可設

  =================字體====================

  顯示字體 command+t

  粗體 可設

  斜體 可設

  下劃線 可設

  變大字號 可設

  變小字號 可設

  Kern相關 可設

  Ligature相關 可設

  center相關 可設

  顯示顏色 可設

  復制樣式 command+option+c

  粘貼樣式 command+option+v

  =================文本====================

  左對齊 command+{

  右對齊 command+}

  居中 command+豎線 (不知豎線是哪個,沒試出)

  Justify 可設(功能未知)

  左縮進 command+[

  右縮進 command+]

  Show Ruler 可設(功能未知)

  Copy Ruler command+control+c

  Paste Ruler command+control+v

  Balance 可設 (第一次,選中語句,第二次,選中方法體)

  重置縮進 可設

  =================查找====================

  項目中查找 command+shift+F

  在項目中查找選定文本 可設

  查找 可設

  查找替換 command+control+f

  查找選定文本 可設

  查找下一個 command+g

  查找上一個 command+shift+g

  隱藏查找欄 可設

  替換 可設

  替換全部 可設

  替換并查找下一個 可設

  替換并查找上一個 可設

  用選擇的查找 command+e

  用選擇的替換 command+control+e

  跳到光標處 command+j

  跳到定義 可設

  =================排序====================

  按名 可設

  按類型 可設

  ========================================

  添加書簽 command+d

  go to line command+l

  下一個填充 control+.

  填充列表 option+esc

  下一個占位符 control+/ (和tab相同)

  Edit All in Scope command+control+t (功能未知)

  ================插入宏=================

  c

  c++

  html

  java

  objective-c

  宏規范

  =================拼寫====================

  顯示拼寫和語法 command+shift+;

  檢查拼寫 command+;

  輸入時檢查拼寫 可設

  特殊符號 command+option+t

  視圖相關:

  右上角詳情搜索 command+option+f

  縮放編輯窗口 command+shift+e

  縮放編輯窗口滿屏 command+option+shift+e

  折疊 command+control+左箭頭

  屏開 command+control+右箭頭

  屏開所有 control+u

  折疊方法 command+control+上箭頭

  展開方法 command+control+下箭頭

  折疊注釋塊 command+control+shift+上箭頭

  展開注釋塊 command+control+shift+下箭頭

  焦點跟隨 command+option+control+f

  ==============信息提示====================

  隱藏問題 command+shift+h

  所有問題 可設

  僅錯誤和警告 可設

  僅錯誤 可設

  僅Analyzer結果 可設

  顯示斷點 可設

  ==================文本====================

  tab設置 可設

  是否自動換行顯示 可設

  行結束 可設

  顯示控制字符 command+shift+6

  顯示空格 可設

  ==============智能分組====================

  所有文件 可設

  Targets 可設

  Exeutables 可設

  書簽 command+shift+m

  Symbols 可設

  搜索結果 可設

  ===================布局====================

  顯示導航欄 可設

  隱藏狀態欄 可設

  顯示收藏欄 可設

  顯示頁數控制 可設

  ===========================================

  前進 command+option+右箭頭

  下一文件 command+option+shift+右箭頭

  返回 command+option+左箭頭

  上一文件 command+option+shift+左箭頭

  切換頭/源文件 command+option+上箭頭

  組樹中定位 command+option+shift+上箭頭

  顯示工具欄 可設

  自定義工具欄 可設

  ===================項目====================

  項目中標簽切換 command+數字0

  類瀏覽 command+shift+c

  重命名項目 可設

  新組 command+option+n

  分組 command+option+g

  撤銷分組 command+option+shift+g

  新建智能組 可設

  添加項目 command+option+a

  添加文件到項目 可設

  新Target 可設

  升級所有Targets 可設

  升級當前Target到ipad 可設

  ================New Build Phase====================

  沒做測試不多介紹,只放出內容

  New Copy Files Build Phase

  New Run Script Build Phase

  New Copy Headers Build Phase

  New Copy Bundle Resources Build Phase

  New Compile Sources Build Phase

  New Link Binary With Libraries Build Phase

  New Build Java Resources Build Phase

  New Build Resource Manager Resources Build Phase

  新的自定義可執行文件 可設

  設置當前Target 為空 可設

  Set Active Architecture 為空 可設

  設置當前sdk 為空 可設

  設置Build配置 為空 可設

  Set Active Executable 為空 可設

  編輯項目設置 可設

  編輯當前Target command+option+e

  編輯當前可執行文件 command+option+x

  ===================Build========================

  Bulid Results command+shift+b

  Bulid command+b

  Build and Analyze command+shift+a

  Build and Archive 可設

  Build and Debug command+enter

  Bulid and Run 斷點關 command+r

  Build and Debug 斷點開 command+y

  Clean command+shift+k

  Clean All Targets 可設

  下個Build警告或錯誤 command+=

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

  Compile command+k

  PReprocess 可設

  Show Assembly Code 可設

  Touch 可設

  =======================代碼導航及編輯================

  注釋 command+/

  文件首行 command+上箭頭

  文件末 command+下箭頭

  行首 command+左箭頭

  行末 command+右箭頭

  上一單詞 option+左箭頭

  下一單詞 option+右箭頭

  上一拆分單詞 control+左箭頭

  下一拆分單詞 control+右箭頭

  中間顯示光標位置 control+l

  方法組列表 control+2

  刪除前一單詞 option+delete

  刪除此行光標前所有內容 control+delete

  跨行選取 command+option+鼠標拖動

  Run相關:

  Debug command+option+enter

  Run 斷點關 command+option+r

  Debug 斷點開 command+option+y

  Run with Performance Tool (Shark) 可設

  Stop command+shift+enter

  Attach to Process (Process ID) 可設

  Debugger command+option+y

  Mini Debugger command+control+左斜上箭頭(不知咋按)

  Console command+shift+r

  Clear Console command+option+control+r

  ===================Show========================

  斷點 command+option+b

  Expressions 可設

  Global Variables 可設

  Memory Browsers 可設

  Shared Libraries 可設

  ===================Debugger Display========================

  縱布局 可設

  橫布局 可設

  Datatips 可設

  Step Controls 可設

  Source Only 可設

  Source And Disassembly 可設

  Disassembly 可設

  ===================Variables View========================

  User Data Formatters

  Show Type Column

  Print Description to Console

  Print Roots to Console

  Print Referers to Console

  Watch Variable

  View Value as

  Natural

  Hexadecimal

  OSType

  Decimal

  Unsigned Decimal

  Octal

  Binary

  Edit Value

  Edit Summary Format

  View in Memory Browser

  View in Window

  View in Expressions Window

  ===============================================

  停用斷點 command+control+

  停止objc例外 可設

  ================Manage Brakpoints=================

  當前行插入斷點 command+

  Add Symbolic Breakpoint 可設

  Add C++ Exception Breakpoint 可設

  啟用當前行斷點 command+option+

  導入斷點 可設

  導出斷點 可設

  ===============================================

  Fix 可設

  Pause command+option+p

  Step Into command+shift+i

  Step Into Instruction command+option+shift+i

  Step Over command+shift+o

  Setp Over Instruction command+option+shift+o

  Setp Out command+shift+t

  Next Thread command+option+control+上箭頭

  Previous Thread command+option+control+下箭頭

  Sync with Debugger 可設

  Stop on Debugger()/DebugStr() 可設

  Enable Guard Malloc 可設

  Desing相關:

  ======================Class Model===================

  Quick Model

  Go to Declaration

  Go to Definition

  Go to Documentation

  Add Comment

  ======================Data Model===================

  Import

  Add Model Version

  Set Current Version

  Add Entity

  Add Attribute command+control+a

  Add Fetched Property

  Add Relationship command+control+r

  Add Fetch Request

  Copy Method Declarations to Clipboard

  Copy Method Implementations to Clipboard

  Copy Obj-C 2.0 Method Declarations to Clipboard

  Copy Obj-C 2.0 Method Implementations to Clipboa

  ======================Mapping Model===================

  Update Source Model

  Update Destination Model

  Add Missing Property Mappings

  Show Model Browser command+control+b

  Collapse Compartments

  Expand Compartments

  Roll Up Compartments

  Roll Down Compartments

  ======================Diagram=======================

  Bring to Front command+control+shift+f

  Send to Back command+control+shift+b

  Align Top Edges

  Align Bottom Edges

  Align Left Edges

  Align Right Edges

  Align Vertical Centers

  Align Horizontal Centers

  Make Centered Colum

  Make Centered Row

  Make Same Width

  Make Same border=1 Height

  Size to Fit

  Lock command+control+l

  Unlock command+shift+control+l

  Zoom in command+control++

  Zoom Out command+control+-

  Zoom to Fit command+control+=

  Turn Grid On

  Show Grid

  Show Page Breaks

  Force-Directed Layout command+control+g

  Hierarchical Layout command+control+h

  Window相關:

  最小化 command+m

  全部最小化 command+option+m

  Zoom

  Bring All to Front

  Defaults

  Organizer command+control+o

  Activity

  Help相關:

  開發文檔 command+option+?

  快速幫助 command+control+?

  Xcode幫助 command+?

  Welcome to Xcode

  Xcode Quick Start

  Xcode Release Notes

  Find Documentation for Selected Text

  Open man Page

:更多精彩教程請關注CUOxin.COM電腦教程欄目,CUOxin.COM電腦辦公群:189034526歡迎你的加入


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 游戏| 平果县| 滕州市| 凌海市| 娱乐| 鹤岗市| 拜城县| 永春县| 九江县| 昆山市| 双江| 淮阳县| 甘德县| 浦城县| 禹州市| 崇文区| 车致| SHOW| 北辰区| 昆山市| 隆昌县| 潮州市| 额济纳旗| 河间市| 临安市| 清徐县| 栾川县| 汉源县| 北川| 淮北市| 乐清市| 密山市| 西盟| 三穗县| 金堂县| 渑池县| 开江县| 酉阳| 台中市| 南汇区| 屏山县|