VS Code 添加垂直参考线


引自 https://stackoverflow.com/questions/29968499/vertical-rulers-in-visual-studio-code

打开设置

File > Preferences > Settings

搜索 rulers

点击 Edit in settings.json

添加一行

"editor.rulers": [80,120]

参考线颜色可以自定义

"workbench.colorCustomizations": {
    "editorRuler.foreground": "#ff4081"
}

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM