phpstrom 字体 注释修改 自动换行

来源:互联网 发布:Ubuntu centos 编辑:程序博客网 时间:2024/06/06 16:31

修改phpstrom编辑器字体
File -> Settings -> Editor -> Colors & Fonts -> Font
默认自己是灰色的不能修改,需要另存为一个scheme name才能编辑。


修改phpstrom界面字体
File -> Settings -> Appearance & Behavior -> Appearance -> UI option
选择 Source Code Pro 字体


修改phpstrom php注释作者样式
File -> Settings -> Editor -> File and Code Templates -> Includes
PHP File Header选项

/** * Created by ${PRODUCT_NAME}. * User: 写你自己的名字 * Mail: 自己邮箱 * Date: ${DATE} * Time: ${TIME} */

phpstrom在缩进位置而不是行首添加注释
Settings -> Code Style -> PHP -> Other -> Code Commenting -> Line comment at first column
默认是打开的,需要将其关闭


其他选项的说明:


phpstrom自动换行
File->Settings->Editor->General->Virtual Space
勾选 “ Use soft wrap in editor ” //在编辑器中自动换行



原创粉丝点击