renderWhitespace defaults to "selection", not "none"
See original GitHub issueThe documentation says that renderWhitespace
defaults to none
.
However, I noticed in my code that it is defaulting to selection
. I confirmed this by opening an empty playground and selecting some text. Setting this option to none
manually resulted in the expected behavior.
monaco-editor version: 0.24.0 Browser: Chrome (latest) OS: Windows 10 Playground code that reproduces the issue: https://microsoft.github.io/monaco-editor/playground.html
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Provide editor.renderWhitespace "selection" option #1477
Set to "none" to turn off drawing white space, "selection" to draw only the // white space within the selection, and "all" to...
Read more >Show whitespace characters in Visual Studio Code
In v1.43 the default value will be changed to selection from none as it was in v1.42. "editor.renderWhitespace": "selection" // default in v1.43 ......
Read more >User and Workspace Settings - Visual Studio Code
Below, the Source Control settings are focused by selecting Source Control in the tree view. ... none: The editor will not insert indentation...
Read more >IStandaloneEditorConstructionO...
Defaults to "https://go.microsoft.com/fwlink/?linkid=852450" ... To not create automatically a model, use model: null . ... Optional renderWhitespace.
Read more >JSON Formatter - SnapLogic Documentation - Confluence
If you select None, then the schema is not sampled. ... In in the JSON Formatter Snap, in the Content field under Settings...
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 Free
Top 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
Thanks! That makes more sense now. I saw that file, but thought it was auto-generated from something else. Always a challenge to find one’s way around a massive codebase for the first PR! 😃
Understandably. Feel free to ping me in your PR against the VS Code repository!