英文:
Change the right hand text in the VS Code suggest widget
问题
我正在为VS Code制作一个主题(如果你感兴趣,可以在这里找到它),但有一个特定的部分让我很困惑。我可以很好地更改开始输入时出现的建议小部件的其余部分。
但是,我找不到任何地方可以更改建议小部件文本右侧的值在VS Code API文档中。
如果有人能指点我正确的方向,那就太好了。
英文:
I'm making a theme for VS Code (you can find it here if you're curious but it's not overly important for this question), but one part in particular is driving me up a wall. I can change the rest of the suggest widget that shows up when you start typing just fine.
// Editor widget
"editorWidget.background": eC.bgSideBar,
"editorWidget.foreground": eC.fg,
"editorWidget.resizeBorder": eC.borderBright,
"editorSuggestWidget.foreground": eC.fg,
"editorSuggestWidget.background": eC.bgStatusBar,
"editorSuggestWidget.border": eC.borderDim,
"editorSuggestWidget.selectedBackground": eC.selectionBright,
"editorSuggestWidget.selectedForeground": eC.fgTertiary,
"editorSuggestWidget.highlightForeground": eC.fgFourth,
"editorSuggestWidget.focusHighlightForeground": eC.fgFourth,
"editorGhostText.foreground": eC.fgDisabled,
But I can't find the value to change the right hand side of the suggest widget text anywhere in the VS Code API docs.
If anyone can point me in the right direction, that'd be great.
答案1
得分: 1
看起来它与主要选定文本的前景色相同的ThemeColor
是:
"editorSuggestWidget.selectedForeground": "#fff",
它似乎不是一个单独的可主题化的项目。我没有找到相关的问题,所以你可能需要自己提交一个问题。
英文:
Looks like it is the same ThemeColor
as the main selected text foreground:
"editorSuggestWidget.selectedForeground": "#fff",
It does not appear to be a separate themeable item. And I don't see a relevant issue so you may have to file one yourself.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论