Vertical rulers in Visual Studio Code

后端 未结 7 1635
盖世英雄少女心
盖世英雄少女心 2020-11-28 16:54

How can vertical rulers (note the plural) be configured in Visual Studio Code?

In Sublime Text 2 I can do

\"rulers\": [72, 80, 100, 120]
         


        
7条回答
  •  醉酒成梦
    2020-11-28 17:47

    Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.

    "editor.rulers": [],
    

    Configure settings to be overridden for [git-commit] language.

      "[git-commit]": {
        "editor.rulers": [72],
        "workbench.editor.restoreViewState": false
      },
    

提交回复
热议问题