Rendered whitespace in selection hard to read
See original GitHub issueWhen displaying whitespace characters in the selected code via editor.renderWhitespace: selection
(which is the new default, by the way), the characters are hard to see. Pictured here is Python source code.
Dracula:
Dracula Soft:
Not sure how feasible it would be to update editorWhitespace.foreground
to add some contrast without it looking ugly when unselected.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How whitespace is handled by HTML, CSS, and in the DOM
The presence of whitespace in the DOM can cause layout problems and make manipulation of the content tree difficult in unexpected ways, ...
Read more >Only Render Whitespace on Selection #7825 - GitHub
In my opinion, this helps with code readability, while still allowing you to see whitespace if you need to. Code currently only supports...
Read more >css - how to stop inline-block whitespace being rendered in ...
Set the font-size to zero for the container, and back to full size again for the blocks. This works really well. It's a...
Read more >Better visibility for whitespaces in editor when "Show ...
Turned on show whitespaces. 'Tabs' are too visible to the point of distracting, and 'Spaces' (dots) are almost invisible. Hard to choose a...
Read more >Why does my shell script choke on whitespace or other ...
If you use $foo unquoted, your script will choke on input or parameters (or command output, with $(foo) ) containing whitespace or \[*?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I opened a PR for this improvement, really useful suggestion
Additional option: use transparency, for instance
#ffffff1f
which gives this:To be honest this gives very good readability both in selected and unselected state.