美文网首页
phpstorm技巧总结

phpstorm技巧总结

作者: 干爹训练营 | 来源:发表于2017-11-14 23:10 被阅读0次
    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 全局搜索

    相关文章

      网友评论

          本文标题:phpstorm技巧总结

          本文链接:https://www.haomeiwen.com/subject/byuqvxtx.html