Zend Studio技巧大全:[3]Zend Studio快捷键

  1. 1.在阅读源代码和调试bug的时候,我们喜欢根据提示或者其它追踪代码,而这时最简单快速的方式就是根据行号来查找;

    ctrl+F10:显示行号;

    ctrl+F10->show annotation:显示/隐藏行号;

    Zend Studio技巧:[3]Zend Studio快捷键
    Zend Studio技巧:[3]Zend Studio快捷键
    Zend Studio技巧:[3]Zend Studio快捷键
  2. 2.在编写代码时,提高编写速度的方法有很多种,其中一种便是代码提示,这个功能不仅方便快捷,还可以在我们忘记函数API等情况下不用去查阅手册;

    windows -> Preferences -> java -> Editor -> Content Assist->Enable auto activeation;

    Zend Studio技巧:[3]Zend Studio快捷键
    Zend Studio技巧:[3]Zend Studio快捷键
    Zend Studio技巧:[3]Zend Studio快捷键
  3. 3.ctrl+shift+/:单行 | 多行注释,注释符号为:/* ... */

      ctrl+shift+\:取消单行  |  多行注释

    Zend Studio技巧:[3]Zend Studio快捷键
    Zend Studio技巧:[3]Zend Studio快捷键
  4. 4

    4.最后一个比较实用的功能,如果当前窗口中打开了十几个文件,用鼠标来回切换的话,显然是很麻烦的,这时我们可以使用快捷键来切换当前窗口中已经打开的文件;

    ctrl+F6:切换选择当前窗口中已打开文件;

    Zend Studio技巧:[3]Zend Studio快捷键
    Zend Studio技巧:[3]Zend Studio快捷键

猜你喜欢

转载自blog.csdn.net/cangyingaoyou/article/details/47147753