How to change the Json editor colors in Visual Studio Code?

453 Views Asked by At

I am using JSON files with the JSON Editor extension for VS Code and I need to format them, but when I use the JSON Editor View, I cannot see the information clearly:

enter image description here

I cannot see the name of the nodes clearly, how can I change it? All dark themes do not allow to see it well, only light themes allow it.

1

There are 1 best solutions below

0
starball On

Try to put "vscode-json-editor.theme": "dark" in your settings.json file.

This problem was raised a long time ago, and a change was made which added that setting to address the problem. Of course, it would be nicer if this other issue ticket was addressed so the user wouldn't need to manually do this: Follow the editor theme #6. The extension project might be dead, so another user forked it and made some of the requested changes, which they published as the GregChamblin.vscode-json-editor extension (I have no affiliation with this extension).

For your reference / learning purposes, I found the above info by googling "github vscode json editor issues dark theme".