vscode-restclient
vscode-restclient copied to clipboard
Response tab does not use the active color theme and font settings
- REST Client Version: v0.25.1
- VSCode Version: 1.70.2
- OS Version: Windows_NT x64 10.0.19044
Steps to Reproduce:
- Perform any HTTP request to any web service that returns a JSON document. E.g.
GET https://jsonplaceholder.typicode.com/users/1
- Observe the document in the Response tab:
- The syntax coloring does not match the current color theme of VS Code, nor does it change when I switch to different color theme. Only the background color of the current theme is used, but not the text colors. This makes the result hard to read for some themes.
- The Result tab does not respect my
editor.fontWeight
setting, which I set to 500, but the Response is rendered with default font weight of 400.
Screenshot: the JSON document rendered in normal editor tab (left) and REST Client Response tab (right) look very different. Default VS Code Light+ theme was used when taking the screenshot.
Also it would be nice to have an option to disable syntax highlight altogether, and also an option to set the desired indentation size.
Totally agree. I am using the Boox mira pro E-Ink monitor to protect my eyes, it's really difficult to recognize the response content.
I would also like this. In the meantime, users can just change the CSS used for that view. It is located at
${HOME}/.vscode/extensions/humao.rest-client-0.25.1/styles
Adjust path whatever version you are using. Just remove all use of color from the CSS, like for example by using this file instead:
You just have to rename it from .css.txt
to just rest-client.css
. I had to rename it because uploading CSS is not allowed.