PhpStorm 使用技巧

来源:互联网 发布:卖家淘宝客怎么查询 编辑:程序博客网 时间:2024/05/16 01:36

PhpStorm 使用技巧

常用配置

如何取消自动保存并标识修改的文件为星星标记

  • Preferences->System Settings

    • 取消勾选Save files on frame deactivation
    • 取消勾选Save files automatically if application is idle for …
  • Editor-> General -> Editor Tabs-> Mark modified tabs with asterisk

显示行号

Preferences->Editor->General->Appearance->勾选 Show Line Number

配置文件头默认注释

Preferences->Editor->File and Code Templates->Includes->PHP File Header

关闭拼写检查

Preferences->Editor->Inspections->Spelling->取消勾选Typo

设置文件编码

Preferences->Editor->File Encodings

  • IDE Encoding : utf-8
  • Project Encoding : utf-8

设置FTP上传

Tools->Deployment->Configuration

8,启动的时候不打开工程文件
Preferences->Appearance & Behavior->System Settings ->去掉Reopen last project on startup.

常用快捷键配置

Preferences->Keymap 可以进行设置

选择自己喜欢的快捷键模板 ,copy一份自定义名称,根据个人喜欢进行修改

同时选中多个单词 alt + 双击

undo 撤销操作

redo 恢复操作

manage projects 管理项目 可用来切换不同的项目

back 后退

forward 前进

upload 上传

File structure 显示文件中的所有方法

search everywhere 搜索

0 0
原创粉丝点击