Visual studio code VS编码错误的标尺行
我正在尝试向我的编辑器添加标尺。然而,执政者们却相去甚远。我尝试对它们进行偏移,但偏移量会随着文件的不同而变化 我正在添加设置json文件,其中标尺设置为72和79Visual studio code VS编码错误的标尺行,visual-studio-code,vscode-settings,rulers,Visual Studio Code,Vscode Settings,Rulers,我正在尝试向我的编辑器添加标尺。然而,执政者们却相去甚远。我尝试对它们进行偏移,但偏移量会随着文件的不同而变化 我正在添加设置json文件,其中标尺设置为72和79 { "window.closeWhenEmpty": false, "editor.emptySelectionClipboard": false, "editor.dragAndDrop": false, "files.insertFinalNewline": true, "edi
{
"window.closeWhenEmpty": false,
"editor.emptySelectionClipboard": false,
"editor.dragAndDrop": false,
"files.insertFinalNewline": true,
"editor.fontFamily": "Source Code Pro",
"editor.fontSize": 18,
"editor.selectionHighlight": true,
"window.openFilesInNewWindow": "off",
"workbench.editor.enablePreview": false,
"editor.scrollBeyondLastLine": true,
"window.title": "${activeEditorShort}${separator}${rootName}",
"files.trimTrailingWhitespace": true,
"editor.wordWrap": "off",
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",
"files.autoSave": "afterDelay",
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"workbench.colorTheme": "One Monokai Darker",
"editor.minimap.enabled": true,
"workbench.startupEditor": "newUntitledFile",
"workbench.activityBar.visible": false,
"C_Cpp.default.cppStandard": "c++17",
"C_Cpp.default.cStandard": "c11",
"python.autoComplete.addBrackets": true,
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.fontSize": 16,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.cwd": "C:\\Box Sync",
"terminal.integrated.fontFamily": "monospace",
"C_Cpp.updateChannel": "Insiders",
"git.ignoreMissingGitWarning": true,
"editor.letterSpacing": 2,
"terminal.integrated.letterSpacing": 2,
"markdown.preview.lineHeight": 2,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.jediEnabled": false,
"editor.rulers": [
72,79
]
}
我使用的字体没有统一的宽度。因此,虽然我设置了标尺,但它们并不准确。我目前使用Fira代码,标尺现在工作正常