I am using visual studio code editer :https://code.visualstudio.com/ for windows. I am trying to change background color of tooltip message box but i could not do it.Below my code but not working.Anybody can help me to resolve this issue?
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;
}
答案 0 :(得分:1)
有时您自己在.vscodestyles.css
上所做的编辑不会覆盖默认设置,因此这是我的解决方案(编辑默认CSS):
最好将编辑过的CSS复制到某个位置,这样在更新后,您可以轻松地更改默认CSS。