在 VS Code 编辑器 window 行号和代码之间添加左 space/margin/padding
Add left space/margin/padding in VS Code editor window between line numbers and code
我希望在 VS Code 编辑器中的行号和第一个 intendation/code 之间有一些 space window:
我只是想在编辑器中缩进代码,而不是在代码中实际添加白色space。
我试过"editor.glyphMargin"
,但这只会增加行号左边的space,不会增加行号和代码之间的
我也知道 "Centered Layout" 视图,但这也减少了 e 的宽度。 G。文件选择的选项卡。
是否有我缺少的设置或我需要 plugin/custom CSS?
你可以试试这个--
"editor.lineDecorationsWidth": 25,
这会增加数字右侧的 space。我还没有看到任何可以增加离您的代码最近的装订线另一侧的填充。
意见 --
理想情况下,会有一个 editor.padding.left
就像有一个 editor.padding.top
,但我还没有看到这个。
我希望在 VS Code 编辑器中的行号和第一个 intendation/code 之间有一些 space window:
我只是想在编辑器中缩进代码,而不是在代码中实际添加白色space。
我试过"editor.glyphMargin"
,但这只会增加行号左边的space,不会增加行号和代码之间的
我也知道 "Centered Layout" 视图,但这也减少了 e 的宽度。 G。文件选择的选项卡。
是否有我缺少的设置或我需要 plugin/custom CSS?
你可以试试这个--
"editor.lineDecorationsWidth": 25,
这会增加数字右侧的 space。我还没有看到任何可以增加离您的代码最近的装订线另一侧的填充。
意见 --
理想情况下,会有一个 editor.padding.left
就像有一个 editor.padding.top
,但我还没有看到这个。