phpstorm 2017.1.5 for mac 配置代码编辑器的竖线(代码不超过8080字符参考线)

phpstorm中找到

Preferences(Settings) > Editor > General > Appearance >"Show hard wrap guide (configured in code style options)"

 

phpstorm中找不到"Show hard wrap guide (configured in code style options)"那就找下面这个,可能版本不一样:

Preferences(Settings) > Editor > General > Appearance >  "Show right margin (configured in code style options)"

然后勾选。

设置竖线在第几个字符,比如第80字符

Preferences(Settings) > Editor > General > Code Style > Default Option > Rright margin(columns)  设置成 80

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章