Reputation: 1547
I'm trying to change the color of a current line in a debugging mode.
So, I know how to change color in general, but don't know what is the name of the parameter.
for example, to change a selected line we need "editor.lineHighlightBackground"
"workbench.colorCustomizations": {
"[Base16 Dark Oceanic Next]": {
"editor.lineHighlightBackground": "#ff0000",
}
}
but, how to change the line color which appears during debugging?
Upvotes: 6
Views: 4812
Reputation: 50095
See https://code.visualstudio.com/api/references/theme-color#debug-colors. The colour customization points you are looking for are
editor.stackFrameHighlightBackground
: "Background color of the top stack frame highlight in the editor."editor.focusedStackFrameHighlightBackground
: "Background color of the focused stack frame highlight in the editor."While you're at it, see https://code.visualstudio.com/api/references/theme-color#debug-icons-colors. You might also be interested in colour customization points for the glyph margin decorations / debug icons:
debugIcon.breakpointCurrentStackframeForeground
: "Icon color for the current breakpoint stack frame."debugIcon.breakpointStackframeForeground
: "Icon color for all breakpoint stack frames."Upvotes: 3
Reputation: 101
If editor.lineHighlightBackground
doesn't do what you want, try editor.stackFrameHighlightBackground
.
Upvotes: 1
Reputation: 169
Write the customization without "[Base16 Dark Oceanic Next]" as :
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#ff0000",
}
Upvotes: 12