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

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