4

Recently, Visual Studio started highlighting errors in the interactive window, which makes them unreadable:

Error highlighted

How can I remove or change the highlight color? I looked around SO but can't find any of the settings mentioned (e.g. this).

I am using the standard VS dark theme. Other dark themes didn't solve the issue

lbarqueira
  • 1,101
  • 1
  • 10
  • 28
CAPSLOCK
  • 6,243
  • 3
  • 33
  • 56
  • 1
    This recently started happening for me too. Since this is in the default dark mode, it seems like this ought to be considered a bug. – Chad Feb 01 '22 at 16:22
  • 1
    @Chad [Rio's answer](https://stackoverflow.com/a/70893209/3284713) points to the right direction to solve the issue. Unfortunately I did not have the time to find the right setting to be modified. You might want to start from there – CAPSLOCK Feb 02 '22 at 13:01
  • 1
    Same thing for me... it only happens in docker containers that I "Attach to Visual Studio Code" though. Thanks for the post. – j7skov Feb 07 '22 at 22:51

3 Answers3

4
  • start the Developer tools: Help > Toggle Developer Tools
  • use the top left button and locate the text in the interactive window
  • in the elements tab you can see which terminal colors it uses
  • customize that terminal color for that particular workbench color in your settings.json
  • you can limit that change for a particular theme

I'm not using VSC 1.63 at the moment, so I can't give you the specific name.

rioV8
  • 24,506
  • 3
  • 32
  • 49
2

Following rioV8's instructions, I added the following to my settings.json:

"workbench.colorCustomizations": {
    "terminal.ansiYellow": "#1e1e1e"
}

Replaces the awful yellow with the same background color as the interactive window in the default dark mode. Works for VSCode v1.63.2.

CAPSLOCK
  • 6,243
  • 3
  • 33
  • 56
bsauce
  • 624
  • 4
  • 12
0

you can install python indent for highlighting your code this plugin is standard you can past this extension kevinrose.vsc-python-indentand dark theme for vscode dhedgecock.radical-vscode in search bar in VScode this extension use for python and vscode.

m3t4
  • 11
  • 1