Xcode12.5最新快捷键的使用(学会事半功倍)
Xcode12.5最新快捷鍵的使用(學會事半功倍)
shift+ command + L 拖控件的,L是Library(非常重要)非??旖?br /> 選中模擬機后,docker顯示 Simulator,cmd +1調到原始視圖,cmd+2調到大一點視圖,cmd+3調到最大視圖,cmd+4 調到中間視圖
command + 加號或者減號 對字體直接放大或者縮小,同樣適用于終端.app
control + command + 左 右 按照瀏覽文件的前后順序切換。(非常重要)
和跳轉UIKit頭文件定義配合使用
Main.storyboard 下,按 command + option + control + enter(非常重要) 可以快速打開助理編輯器,即ViewController.m 文件和storyboard上下分離,storyboard在上,.m文件在下。再按一下就關閉助理編輯器
或者按CMD + Enter 回到主視圖,僅限storyboard的使用
control + command + j 跳到頭文件,進源碼查看的 (非常重要)
option按住 + 鼠標點擊類,可以查看類的定義以及返回值類型 (非常重要)
esc 是提示代碼的,沒有代碼提示時候按esc (非常重要)
Command + option + ?? 或 ?? 折疊代碼(單個函數的)
Command + option + shift + ?? 或 ?? 折疊代碼(當前編輯頁的全部函數)
Command + shift + J 快速定位文件(非常重要)
Cmmand + 0 隱藏左側文件區域 進入編輯代碼模式 (導航窗口)
Command +option + 0 隱藏右側屬性面板區域(工具窗口)
Command + control + ?? ?? .m 和.h 文件之間的切換 (非常重要)
command + shift + o。快速查找代碼
command + option + [ / ]. 快速移動代碼 整行移動 (非常重要)
Command + ?? 光標移動到代碼末尾 (非常重要)
Command + ?? 光標移動到代碼最前面
Command + delete 刪除 整行。, 光標必須在代碼后面
control + delete 刪除光標前的一個單詞
Command + [ / ]. 左對齊或者右對齊代碼
Command + W。關閉當前 正在編輯的代碼頁面 (非常重要)
command + option + W 關閉其他 當前編輯代碼頁
command + shift + W 關閉當前項目
command + N。新建文件
command + shift + N 新建項目
command + L。定位到某一行的
command + F 查找的
command + / 注釋
command + S 保存
command + M 最小化窗口
control + i。格式化代碼的 CMD + A 全選一下
Command + 1,2,3,4,5,6,7,8,9 對應左側區域每一個選項欄的
command + shift + Y 調出控制臺的或者隱藏控制臺的
Command + ?? 光標移動代碼編輯頁最底部
Command + ?? 光標移動代碼編輯頁最頂部
Controller + ?? 切換項目 切換每一個.xcodeproj項目
運行相關的
command + option + R 調出Debug 還是release 發布調試
command + R 運行(非常重要)
command + B 編譯
command + . 停止運行
Command + shift + 0 查找文檔 ,技術手冊,查看類的具體使用
control + command + space (空格鍵)。表情包
Control + 6. 搜索函數名
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的Xcode12.5最新快捷键的使用(学会事半功倍)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 18条工作感想:不要不情愿地工作
- 下一篇: 手机厂商探路互联网:硬件高利润时代已成历