Xcode "快捷键" 及 "菜单功能说明"

Xcode 菜单功能说明


​File文件

Edit编辑

View视图

Find查找

Navigate导航

Editor编辑

Product产品

Debug调试

Source Control源代码管理

Window窗口

Help帮助

File文件

New新建

New Tab 新标签

New Window 新窗口

New File 新文件

New Target…  新目标

New Project… 新项目

New Workspace…新的工作区

New Group新组

New Group from Selection从选择中建立新组

Open打开

Open Recent打开最近的

Open Quickly快速打开

Close Window关闭窗口

Close Tab关闭标签

Close "filename.-"关闭当前文件

Close Project关闭项目

Save保存

Save As 另存为

Revert还原

Unlock开锁

Show in Finder在Finder中显示

Open with External Editor使用外部编辑器打开

Save As Workspace另存为工作组

Project Settings…项目设置

Source Control源代码管理

Commit提交

Push  推

Pull  拉

Merge合并

Discard Changes放弃更改

Add添加

Ignore放弃

Mark as Resolved标记为已解决

Refresh Status刷新状态

Hide Remote Status隐藏远程状态

Repositories… 库

Create Snapshot…创建快照

Page Setup页面设置

Print…打印

Edit编辑

Undo还原

Redo重做

Cut剪切

Copy复制

Paste粘贴

Special Paste特殊粘贴

Paste and Match Style粘贴并匹配样式

Duplicate复制

Delete替换

Select All选择全部

Find查找

Find in Workspace…在工作组中查找

Find and Replace in Workspace…在工作组中查找和替换

Find查找

Find and Replace查找和替换

Find Next查找下一个

Find Previous查找上一个

Replace替换

Replace All替换全部

Replace and Find Next替换和查找下一个

Replace and Find Previous替换和查找上一个

Hide Find Bar隐藏查找栏

Use Selection for Find使用查找选择

Use Selection for Replace使用替换选择

Filter筛选

Filter in Navigator在navigator中筛选

Filter in Library在库中筛选

Format 格式化

Font字体

Text文本

Spelling and Grammar拼写语法

Substitutions

Transformations转换

Speech

Refactor重构

Rename 重命名

Extract提取

CreateSuperclass创建超类

Move Up上移

Move Down下移

Encpsulate封装

Special Characters特殊字符

View视图

Navigators导航

Project项目

Symbol符号

Search搜索

Issue

Debug调试

Breakpoint断点

Log日志

Hide Navigator隐藏导航栏

Editor  编辑

Standard标准

Assistant助理

Version版本

Show Related Items显示相关信息

Show Previous Files History显示上一个文件的历史

Show Next Files History显示下一个文件的历史

Show Top Level Items显示顶级项目文件

Show Group Files显示群组文件

ShowCocumentItems

Show Issues显示问题

Add Assistant Editor卸载辅助编辑器

Remove Assistant Editor

Reset Editor充值编辑器

Assistant Layout辅助工具布局

Assistant Editors on Right辅助工具在右侧

Assistant Editors on Bottom辅助工具在地步

All Editors Stacked Horizontally所有编辑横排

All Editors Stacked Vertically所有编辑竖排

Utilities实体工具

File Inspector文件检测

Quick Help快速帮助

Identity Inspector身份检测

Attributes Inspector属性检测

Size Inspector大小检测

Connections Inspector连接检测

File Template Library文件模板库

Code Snippet Library代码片段库

Object Library  对象库

Media Library  媒体库

Hide Utilities隐藏实体工具

Hide Toolbar隐藏工具栏

Hide Tab Bar隐藏标签栏

Show Debug Area显示调试区

Navigate导航

Reveal in Project Navigator在项目揭示导航

Reveal in Symbol Navigator在符号揭示导航

Open in Adjacent Editor在相邻编辑打开

Open in ..打开

Move Focus To Next Area将焦点移动到下一个区域

Move Focus To Previous Area移动焦点至前区

Move Focus To Editor将焦点移动到编辑器

Go Forward前进

Go back后退

Jump to Selection跳转到选择

Jump to Definition跳转到定义

Jump to Next Issue跳转到下一个问题

Jump to Previous Issue跳转到上一个文件

Jump to Next Object with Clipped Content跳转到下一个对象剪切的内容

Jump to Previous Object with Clipped Content跳转到上一个对象剪切的内容

Editor编辑

Canvas画布

Show Bounds Rectangles显示边界矩形

Show Layout Rectangles布局矩形

Snap to Guides捕捉指南

LiveAutoresizing实时自动调整

Graph Paper   方格纸

Checkers  棋盘格

White白色

Gray灰色

Alignment对准

Align Left Edges左边缘对齐

Align Right Edges右边缘对齐

Align Top Edges顶部边缘对齐

Align Bottom Edges底部边缘对齐

Align Horizontal Centers横向中心对齐

Align Vertical Centers竖向中心对齐

Align Baselines基线对齐

Align Horizontal Center In Container对齐容器中的水平中心

Align Vertical Center In Container对齐容器中的垂直中心

Arrangement排版

Send to Front发送到顶层

Send to Back发送备份

Send Forward发送前进

Send Backward下移一层

Embed嵌入

Unembed解除嵌入

Size to Fit大小以适合

Add Horizontal Guide添加横向指南

Add Vertical Guide添加垂直指南

Reveal in Document Structure显示在文档结构

Simulate Document模拟文档

Product产品

Run运行

Test测试

Profile解析

Analyze分析

Archive存档

Build For建立

Build For Running建立运行

Build For Testing建立测试

Build For Profiling建立用于分析

Build For Archiving建立以存档

Perform Action执行行动

Run Without Building没有建设运行

Test Without Building没有建立测试

Profile Without Building没有建立解析

Build建立

Clean清除

Stop停止

Debug调试

Pause暂停

Step Into步入

Step Over跨越

Step Out走出

Step Into Thread单步执行成线

Step Into Instruction步入指示

Step Over Thread单步执行在线程

Step Over Instruction跨过指示

AddBreakPointat Current Line在当前行添加断点

Deactivate Breakpoints停用中断点

Shared Libraries  共享库

Clear Console清除控制台

Window Behavior窗口行为

Normal正常

XcodeBehindXcode的背后

XcodeIn FrontXcode在前面

Attach to Process附加到进程

Edit Scheme编辑计划

New Scheme   新计划

Manage Schemes管理计划


xcode常用快捷键


command + 1~7

command + 1:快速浏览视图

command + 7:设置全局断点,

command + 0:隐藏或显示左边侧栏

command + b:编译

command + r:运行

command + shift + b:检测内存是否泄露analyze

command + q:退出xcode

command + Option + 0:实用工具面板主要用于编译用户界面文件时,在只考虑写代码的时候隐藏

command + shift + 0:调出帮助文档

command + n:新建文件

command + shift + 1:新建一个工程

command + i :调出instrument

Option + left_click:创建一个分栏显示另外一个文件视窗

command + shift + Y:隐藏或现实

command + Option +回车:显示当前的视图关联的类

command +回车:隐藏当前的视图关联的类

command + Option +左键/右键:收缩/展开代码.注意不要一直收缩或展开,不然xcode会

command + / :注释当前行/解开当前行注释

command + delete:删除当前行

command + z:回退

command + shift + z :撤销回退

command + shift + k:清除缓存

command + Option + = :根据约束,更新约束

command + Option + shift + =:根据位置,更新约束

command + , (逗号):调出xcode偏好设置

command + y:让当前行断点活跃或不活跃状态(只有当前行有断点才有效果)

command + . (点):停止运行程序

command + Option + c: commit代码

command + Option + X:更新代码

command + shift + 2:调出调式设备界面管理

command + ~:切换xcode工程界面

command + s:保存代码

command + controller +上下:在类中切换.m文件和.h文件

command + controller + space:调出emjio键盘

command + /:打一个断点



新建项目    com + shift +N

新建文件    com  + N

偏好设置  通用   com + ,

跳到指定行 com + L

当前行加断点    com + \

移动编辑区最上方   com +  上

移动编辑区最下方   com +  下

移动光标所在行最左边   com +   左

移动光标所在最右边   com +   右

向前/后跳一个单词  option + 左&右

向前删除一个单词   option + delete

删除光标所在行后面的所有字符  control + K

打开过的文件之间切换  com + option + 左&右

当前文件的.h .m之间切换   com + control  + 上&下

代码排版 control + i    或com + X 和 com + V

选中当前行  com + shift + 左&右

取消选中  左&右

选中当前作用域的局部变量   com +control + E

导航区切换  com +1,….8

组件区切换 com + option + 1…5

关闭或打开左边的导航区  com + 0

关闭或打开右边的组件属性区 com + option + 0

DeBug区视图  打开关闭   com + shift + Y

清理 控制台  com  + K

打开控制台窗口   com + shift + C

全局激活或禁用断点   com + Y

Xcode 全屏   com + control + F

运行程序  com + R

停止程序  com + .

编译程序 com  + B

静态分析  com + shift + B


你可能感兴趣的:(Xcode "快捷键" 及 "菜单功能说明")