• Xcode的常用快捷键


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

    各种新建

    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 :将光标插点置于窗口正中。

  • 相关阅读:
    centos6.5+mono+nginx跑asp.net
    YYHS-手机信号
    NOIP2017提高组初赛
    BZOJ-4915-简单的数字题
    BZOJ-5055-膜法师(离散化+树状数组)
    YYHS-Super Big Stupid Cross(二分+扫描线+平衡树)
    BZOJ-1008-[HNOI2008]越狱(快速幂)
    BZOJ-1192-[HNOI2006]鬼谷子的钱袋
    POJ-2417-Discrete Logging(BSGS)
    BZOJ-1010-[HNOI2008]玩具装箱toy(斜率优化)
  • 原文地址:https://www.cnblogs.com/xiaomoge/p/4196752.html
Copyright © 2020-2023  润新知