Zend Studio技巧:[3]Zend Studio快捷键
1、在阅读源代码和调试bug的时候,我们喜欢根据提示或者其它追踪代码,而这时最简单快速的方式就是根据行号来查找;ctrl+F10:显示行号;ctrl+F10->show annotation:显示/隐藏行号;
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/82eff6d7592ae3eff10e8b8554b6326c566664ce.jpg)
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/031231632385e036f9e7d85cb8e039723c035ace.jpg)
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/baab208630486143f3a2d7858febf6a75e0f53ce.jpg)
2、在胆咣骜岱编写代码时,提高编写速度的方法有很多种,其中一种便是代码提示,这个功能不仅方便快捷,还可以在我们忘记函数API等情况下不用去查阅手册;windows -> Pre熠硒勘唏ferences -> java -> Editor -> Content Assist->Enable auto activeation;
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/05aae8a75f0f822b5e988386c018512c8df14dce.jpg)
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/d9e638334884cde3785ac95af07f860e7d7542ce.jpg)
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/7d34fbf4fcf5ee0d01b83563f96b0ce264e7bace.jpg)
3、ctrl+shift+/:单行 | 多行注释,注释符号为:/* ... */ ctrl+shift+\:取消单行 | 多行注释
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/64a62a0f64781423fdcfe98aaac2bbd6e0d0b2ce.jpg)
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/e09173e89a6186250ae5515c3b04541bd00faace.jpg)
4、最后一个比较实用的功能,如果当前窗口中打开了十几个文件,用鼠标来回切换的话,显然是很麻烦的,这时我们可以使用快捷键来切换当前窗口中已经打开的文件;ctrl+F6:切换选择当前窗口中已打开文件;
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/d04eec260d9a310e44ef769e31b842406bfea2ce.jpg)
![Zend Studio技巧:[3]Zend Studio快捷键](https://exp-picture.cdn.bcebos.com/f0848bee41c1b727f125993c1a2ca5cadde898ce.jpg)