似乎您是指VSCode中的Overview标尺。此答案中对此进行了详细说明。复制如下:
您可以配置以下设置:
// Controls if the cursor should be hidden in the overview ruler.
"editor.hideCursorInOverviewRuler": false,
// Controls if a border should be drawn around the overview ruler.
"editor.overviewRulerBorder": true,
// Controls the number of decorations that can show up at the same position in the overview ruler
"editor.overviewRulerLanes": 3
…还有一些可配置的颜色,这是我找到的最彻底的解释:
概述标尺
此标尺位于编辑器右边缘的滚动条下方,并提供编辑器中装饰的概述。
editorOverviewRuler.border
:概述标尺边框的颜色。editorOverviewRuler.findMatchForeground
:概述标尺标记颜色用于查找匹配。颜色一定不能不透明以隐藏基础装饰。editorOverviewRuler.rangeHighlightForeground
:高亮范围的概述标尺标记颜色,例如“快速打开”,“文件中的符号”和“查找”功能。颜色一定不能不透明以隐藏基础装饰。editorOverviewRuler.selectionHighlightForeground
:概述标尺标记颜色选择高亮。颜色一定不能不透明以隐藏基础装饰。editorOverviewRuler.wordHighlightForeground
:符号高亮的概述标尺标记颜色。颜色一定不能不透明以隐藏基础装饰。editorOverviewRuler.wordHighlightStrongForeground
:概述标尺标记颜色,用于写访问符号突出显示。颜色一定不能不透明以隐藏基础装饰。editorOverviewRuler.modifiedForeground
:修改内容的概述标尺标记颜色。editorOverviewRuler.addedForeground
:概述标尺标记颜色以添加内容。editorOverviewRuler.deletedForeground
:已删除内容的概述标尺标记颜色。editorOverviewRuler.errorForeground
:概述标尺标记颜色的错误。editorOverviewRuler.warningForeground
:概述标尺标记颜色,用于警告。editorOverviewRuler.infoForeground
:概述标尺刻度颜色的相关信息。editorOverviewRuler.bracketMatchForeground
:用于匹配括号的概述标尺标记颜色。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句