Heim  >  Artikel  >  Backend-Entwicklung  >  phpStorm使用技艺总结

phpStorm使用技艺总结

WBOY
WBOYOriginal
2016-06-13 12:29:121039Durchsuche

phpStorm使用技巧总结

1,从版本控制系统创建项目:

CVS ->?Checkout from Version Control

?

2, 关联DOC文档:

右键External Librariese -> Configure PHP include paths

?

3, 去掉波浪线:

settings -> Editor -> Colors & Fonts -> General -> TYPO->Effects

?

4, 显示行号:

settings -> Editor->Appearance->Show line numbers?

?

5,远程或本地同步文件:

Tools -> Deploments -> Configuration

?

6,?去掉右上角浏览器图标:

settings -> tools -> WebBrowsers

?

7, 添加VIM插件:

settings->editor ->plugins->browse repositories ->搜索VIM

?

8,启动的时候不打开工程文件

Settings->General去掉Reopen last project on startup.

?

9,?取消自动保存

appearance -> system settings -> save file的两个选项 去掉

?

10, 将编辑的文件加星号标识:

settings -> editor -> editor tabs -> 勾选 mark modifed tabs…

?

11, 添加扩展名高亮显示:

settings -> editor -> file types ?

?

?

常用快捷键:

?

?

command + option + l ? ?将代码格式化

command + shift + u ? ?切换大小写

command + shift + + / command + shift + - ? ??折叠/展开所有区块

command + e ? ??列出最后打开的文件

control + tab? / control + shift + tab ? ? 切换打开的文件

command + / ? ? 行注释

ctrl + shift + / ? ? ?块注释

command + b ? ??函数追踪,command +单击

command + alt + 左右箭头 ? ? ?操作动作前进/回退

shift + command + r ? ? ?按文件名搜索对应文件所在路径

shift + command + t ? ? ?按类名搜索对应文件所在路径

shift + command + c ? ? ?复制当前文件所在路径

Command + Shift + O ? ??打开文件

Command + O ? ? ? ? ?打开类

alt + F1 ? ? ? ?定位编辑文件所在位置:

alt + F12 ? ? ? ?打开命令行栏

command + shift + f 全局搜索

?

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Vorheriger Artikel:ThinkPHP中的模型2Nächster Artikel:初识PHP(2)常用函数