从资源管理器重命名时在 VS Code 中更改(或添加)背景颜色
Change (or add) background color in VS Code when renaming from Explorer
在下图中,我实际上处于“重命名”状态,我正在突出显示某些内容,但没有突出显示。您会注意到也没有光标,因为它是突出显示的。这让我有点发疯,因为我要么数着我要移动的 left/right 个箭头键,要么就是为了知道我在哪里。我尝试了以下颜色,但其中 none 似乎无所不能(在资源管理器中):
"workbench.colorCustomizations": {
"editorRuler.foreground": "#fc199a22",
"editor.selectionBackground": "#ab3beb3f",
"editor.selectionHighlightBackground": "#136460e3",
"editor.findMatchBackground": "#00cc44a8",
"editor.findMatchHighlightBackground": "#d0ff004d",
"scrollbarSlider.background": "#FC199A2c"
},
我尝试在 VS Code 中检查开发人员控制台中的元素,但是当它模糊了我需要对 select 元素做的字段以了解 CSS 是什么时,重命名关闭class 是样式。
我也没有在此处看到资源管理器的“重命名”或突出显示颜色:https://code.visualstudio.com/api/references/theme-color#editor-colors
任何帮助将不胜感激。
您可以使用以下属性:
"selection.background" : "#FF0"
The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor.
此方法的一个警告是它是全局应用的,而不仅仅是资源管理器视图
在下图中,我实际上处于“重命名”状态,我正在突出显示某些内容,但没有突出显示。您会注意到也没有光标,因为它是突出显示的。这让我有点发疯,因为我要么数着我要移动的 left/right 个箭头键,要么就是为了知道我在哪里。我尝试了以下颜色,但其中 none 似乎无所不能(在资源管理器中):
"workbench.colorCustomizations": {
"editorRuler.foreground": "#fc199a22",
"editor.selectionBackground": "#ab3beb3f",
"editor.selectionHighlightBackground": "#136460e3",
"editor.findMatchBackground": "#00cc44a8",
"editor.findMatchHighlightBackground": "#d0ff004d",
"scrollbarSlider.background": "#FC199A2c"
},
我尝试在 VS Code 中检查开发人员控制台中的元素,但是当它模糊了我需要对 select 元素做的字段以了解 CSS 是什么时,重命名关闭class 是样式。
我也没有在此处看到资源管理器的“重命名”或突出显示颜色:https://code.visualstudio.com/api/references/theme-color#editor-colors
任何帮助将不胜感激。
您可以使用以下属性:
"selection.background" : "#FF0"
The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor.
此方法的一个警告是它是全局应用的,而不仅仅是资源管理器视图