码迷,mamicode.com
首页 > 其他好文 > 详细

Xcode的常用快捷键

时间:2014-12-31 23:59:43      阅读:431      评论:0      收藏:0      [点我收藏+]

标签:

在开发中,使用快捷键就像玩游戏时用的大招,这么爽的东西你能不用吗?

各种新建

shift + comand + n 新建项目

 option + command + n 新建分组

command + n 新建文件

 

搜索

shift + command + o command + f

 

控制tab

command + t 新建tab

command + w 关闭tab

 

控制窗口的显示隐藏

comand + 0 隐藏显示导航窗口

comand + 1 。。。。n 显示切换导航窗口中的几个内容

 

option + command + 0 控制工具窗口

option + command + 1.。。。。N

 

文件之间的跳转

control + comand + 上/下 .m/.h文件切换

control + comand + 左/右 上一个和下一个文件之间的切换

 

控制光标

shift + command + 方向键的左右 选中正行 上下 选中所有

shift+option+方向键的左右选中单词 上下选中行 去掉shift 实验

 

control + command + j 查看定义

 

control + 6 快速切换当前文档中的方法,支持智能输入

 

编译运行项目:command + r

编译不运行:command + b

 

打开助手编辑器:option + command + 回车

关闭助手编辑器:command + 回车

 

停止:command + .

 

折叠代码块:option + command + 左/右

 

 

调试快捷键:

 continue : option + command + P

 step Into : shift + command + I

 step Over : shift + command + O

 step Out : shift + command + T

 

文本域快捷键:

control+F : 在同一行上将光标向右移动

control+B : 在同一行上将光标向左移动

control+P : 将光标向移动到前一行

control+N : 将光标向移动到后一行

control+A : 将光标向移动到本行的行首

control+N : 将光标向移动到本行的行尾

control+T : 将光标两边的字符对调

control+D : 删除光标右边的字符

control+k : 删除光标所在行 光标后面的代码,便于你重写行尾代码

control + L :将光标插点置于窗口正中。

Xcode的常用快捷键

标签:

原文地址:http://www.cnblogs.com/xiaomoge/p/4196752.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!