You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
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 draw all white space
"draw_white_space": "selection",
I would like to see selection added to list of possible values for editor.renderWhitespace. I find it incredibly useful.
While writing code, I prefer to not show whitespace. However, when I copy-paste code snippets, I like to know the whitespace matches the target document by simply selecting it (usually via Ctrl+A), not using the arrow keys or toggling a setting.
Thanks
Reacted by Sandy Armstrong, Séamus O'Connor, Maxime Quandalle, Kasidit Iamthong, Stephan Ahlf, Jan Cervinka, ustccjw, Ingmars Melkis, Luis Custodio, Luke Champine and 370 more
Reacted by janniks, JuanPablo Barri L., Emil Valeev, Ken Bellows, Andrew Keller, Pascal Iske, Richard Inskip, Towry Wang, Trevor Clark, NicHub and 3 more
Reacted by Miguel Nunes, Joonas Satka, Roy Ivy III, yangqinlong, Sai Prashanth Chandramouli, Gregory, Tianshu Wang, Matthew Davies, Denis Pshenov, evandrocoan and 34 more
I feel bad commenting "+1" on this issue, especially after the open letter to GitHub, but there's no other way of letting you know how important this is to me without doing so. So +1. :)
Reacted by Alberto Silva, Vincent van der Palen, mattmc3, eykamp, Towry Wang, Mohammad, Raphael Mobis Tacla, Demosphet, DevAurelius, Kristian Gerardsson and 6 more
Reacted by Alberto Silva, Demosphet, Julian Avar and Ciprian Tomoiaga
50 thumb ups atm, multiple duplicates, but no no movement on this for a year? Seems like a low hanging fruit ripe for the picking to me. Anybody?
Reacted by Justin, Tyler Sebastian, Josh Olson, Cesar Aaron, Cal Mosher, Marjo Ballabani, Maxim Ryazanov, Francisco Santos, Sirisak Lueangsaksri, fangxing and 11 more
While we wait, I have create an extension explicitly for this issue. Please take a look.
Reacted by Artem Sapegin, Brian Mortenson, Denis LE, Rohit Vighne, Torvin, Marcos Pereira, Sámal Rasmussen, Franklin Yu, Aristotelis, Siddharth Vaknalli and 5 more
Any advantage compared to using the tip shared by alexandrudima?
"editor.renderWhitespace": "all",
"workbench.colorCustomizations": {
"editorWhitespace.foreground": "#ffffffff" // <-- use here the theme's background color
}
Reacted by Wilmer Carranza, Pascal Iske, Alexander, Chris Komlenic, Guillaume Allard, Brad Dougherty, Sirisak Lueangsaksri, Sámal Rasmussen, kanlukasz and Jonathan Zúñiga
Reacted by Benoît Rouleau, Alex Kondratiuk, Otiel, Jacob Freeman, Wilmer Carranza, Pascal Iske, Alexander, Chris Komlenic, Guillaume Allard, Jayden Pearse and 5 more
Activity
bpasero commentedon Dec 23, 2015
alexandrudima fyi
elad commentedon Jan 18, 2016
I feel bad commenting "+1" on this issue, especially after the open letter to GitHub, but there's no other way of letting you know how important this is to me without doing so. So +1. :)
samal-rasmussen commentedon Dec 15, 2016
50 thumb ups atm, multiple duplicates, but no no movement on this for a year? Seems like a low hanging fruit ripe for the picking to me. Anybody?
RomainLanz commentedon Dec 16, 2016
Hopefully this will be added in the next release!
mignz commentedon Dec 22, 2016
Taking a while... :(
calebmosher commentedon Jan 26, 2017
This seems to be the main issue that is being tracked for this. Any update on when we can expect to see this feature in a future release?
CoolGoose commentedon Jan 31, 2017
It would be great to have this, since it's valuable to know whitespace status in various cases including linting.
spywhere commentedon Apr 14, 2017
While we wait, I have create an extension explicitly for this issue. Please take a look.
25 remaining items
UnexpectedLobster commentedon Oct 9, 2018
+1
rodrigogonegit commentedon Feb 13, 2019
Any news?
kanlukasz commentedon Mar 12, 2019
Until this is not fixed, we can use:
https://marketplace.visualstudio.com/items?itemName=spywhere.whiteviz
Anyway, i think VS Code Team should make it in standard
gsemet commentedon Mar 13, 2019
thank kanlukasz :)
Otiel commentedon Mar 13, 2019
Any advantage compared to using the tip shared by alexandrudima?
kanlukasz commentedon Mar 13, 2019
In this plugin you have some extra options, for example - changing this arrows to a straight long lines
Edit:
There is one small visual error in this plugin - spywhere/vscode-whiteviz#10
RMacfarlane commentedon Jul 22, 2019
The setting will be available in tomorrow’s VS Code Insiders, which you can download here if you want to try it out: https://code.visualstudio.com/insiders/. It will be part of our next release in August. Thanks!
spywhere commentedon Jul 23, 2019
Nice job! I'll update the extension to encourage this change accordingly then. 😄