Visual studio 2015 如何更改visual studio代码工具提示背景色

Visual studio 2015 如何更改visual studio代码工具提示背景色,visual-studio-2015,visual-studio-code,Visual Studio 2015,Visual Studio Code,我正在使用visual studio代码编辑器:for windows。我正在尝试更改工具提示消息框的背景色,但我无法更改。在我的代码下面,但不工作。有人可以帮助我解决此问题吗 settings.json { "vscode_custom_css.imports": ["./style.css"], "vscode_custom_css.policy": true } style.css: /* suggest-widget size */ .monaco

我正在使用visual studio代码编辑器:for windows。我正在尝试更改工具提示消息框的背景色,但我无法更改。在我的代码下面,但不工作。有人可以帮助我解决此问题吗

settings.json

 {  
 "vscode_custom_css.imports": ["./style.css"],
 "vscode_custom_css.policy": true
 }
style.css:

      /* suggest-widget size */

      .monaco-editor .suggest-widget.docs-side {
      width: 1000px; 
      }

      .monaco-editor .suggest-widget.docs-side > .details {
      width: 60%;
      max-height: 800px !important; 
      }

      .monaco-editor .suggest-widget.docs-side > .tree {
      width: 30%;
      float: left; 
      }

      /* parameter-hints-widget */

      .editor-widget.parameter-hints-widget.visible {
      max-height: 800px !important; 
      }

      .monaco-editor .parameter-hints-widget > .wrapper {
      max-width: 1000px; 
      }

      /* editor-hover */

      .monaco-editor-hover .monaco-editor-hover-content {
      width: 1000px;
      height:500px;
      background-color: aqua;
      }

有时,您自己在
.vscodestyles.css上的编辑不会覆盖到默认值,因此下面是我的解决方案(编辑默认css):

  • f1->开发工具
  • 拉出工具提示,然后在开发人员工具中选择它
  • 在开发人员工具中,请参见背景色的来源。这可能是默认值。如果是这样,请在开发人员工具中打开它
  • 复制文件的一部分(子字符串)。使用此技巧,您将能够搜索它,并在稍后的编辑器中直接转到正确的位置
  • 使用write premission在编辑器中打开它。搜索复制的子字符串,更改css,然后保存它

将编辑好的css复制到某些地方是很好的,这样在更新后,您可以轻松更改默认css。

很难找到工具提示css bg颜色我需要使用“vscode\u custom\u css.imports”,因为我正在为vs代码创建工具提示应用程序。许多人会使用它,因此用户友好must@cinnan使用元素选择器(ctrl+shift+c)在开发工具中。当您在css文件中找到该项时,只需在开发者工具右下角的菜单中滚动即可找到bg颜色。