英文:
High Contrast Theme Disable Cursor/Text Dotted Border
问题
我多年来一直在使用vscode的默认高对比度主题;在过去的几个版本中,引入了一个带点的白色边框,但我在发布说明中找不到任何信息,并且检查标记也没有帮助。开发者窗口也无法缩小范围。
是否有方法来禁用/更改这个白色点状边框:
似乎可以在以下情况下重现:
- 将光标放在单词边界的任何位置,然后导航到不是编辑器的任何其他面板/界面元素(使用快捷键或鼠标都一样)。
- 在单词的任何位置按Ctrl+F。
我目前正在使用vscode 1.75
英文:
I have been using vscodes default high contrast theme for years; somewhere in the past few releases a dotted box has been introduced, but I can't find anything in the release notes about it and inspecting tokens doesn't help. Can't narrow it down with developer window either.
Is there a way to disable / alter the white dotted border:
It appears to be reproducible in these scenarios:
- Place cursor anywhere in the word boundary and navigate to any other panel/ui element that's not the editor (using shortcuts or mouse doesn't matter)
- Pressing Ctrl+F anywhere on the word
I am currently using vscode 1.75
答案1
得分: 1
同样问题:查找匹配高亮边框颜色 - 似乎是一个回退,请查看
> 我们可以为任何东西设置实线边框样式,除了高对比度。在高对比度主题中,所有这些装饰都使用相同的颜色,唯一可区分的特征是边框样式。
但是有一个拉取请求(PR)被提交并合并(https://github.com/microsoft/vscode/pull/46956)以将点状高对比度主题的查找...
边框颜色改为实线。因此,您应该支持上述提到的第一个问题。
在 CSS 规则被更正之前提供了一个解决方法,请参见
> 这可以通过 "editor.occurrencesHighlight": false
关闭。根本原因是一个不正确的 CSS 规则。
来自 查找匹配高亮边框颜色。
英文:
Same issue: find match highlight border color - seems to be a reversion see
Borders styles for selection and word highlight:
> We can do solid border styles for anything except high contrast. In
> the high contrast theme, the same color is used for all of these
> decorations and the only distinguishable trait is the border style.
But a PR was submitted and merged (https://github.com/microsoft/vscode/pull/46956) to change the dotted high contrast theme find...
border colors to solid. So you should upvote the first issue mentioned above.
A workaround has been provided until a css rule has been corrected, see
> This can be turned off via "editor.occurrencesHighlight": false
. The
> root cause is an incorrect CSS rule.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论