Vscode: Render white spaces: provide option to show white space between words

Created on 8 Mar 2016  路  13Comments  路  Source: microsoft/vscode

I have a use case to render whitespace but we seem to not render whitespace between words in a line:

image

Here I cannot figure out how the help text is formatted unless I use the keyboard.

editor-core feature-request help wanted verification-needed verified

Most helpful comment

So to somewhat recap current state of possible renderWhitespace options which should be:

  • false/"none" : no whitespaces should be displayed whatsoever
  • "selection": display whitespaces (all of them) when user selects a portion of text
  • "boundary": display all whitespace except inline single spaces (double spaces should be shown); this is per @stkb comment
  • true/"all": display all whitespaces all the time

All 13 comments

Not sure if this is actually something we should by default, hence setting bug label.

not implemented as such but fair request

@alexandrudima fyi

I love vscode's current whitespace rendering precisely because it doesn't mark all the whitespace between words -- which I find way too noisy visually -- just at the start and end of the line where it's really needed. So I hope this would remain an option.

So I hope this would remain an option.

for sure

I thought this was a bug in that it was only showing me whitespace in certain cases, but realize this is the expected behavior. Undecided about the behavior as I've not yet used it, but might I suggest a better name to indicate what it really does?

So to somewhat recap current state of possible renderWhitespace options which should be:

  • false/"none" : no whitespaces should be displayed whatsoever
  • "selection": display whitespaces (all of them) when user selects a portion of text
  • "boundary": display all whitespace except inline single spaces (double spaces should be shown); this is per @stkb comment
  • true/"all": display all whitespaces all the time

Hi Alexandrudima,
When this function can be implemented?

this actually happened by a PR in september

Yes, many thanks to @marktrz who implemented this in PR #11122

To whomever verifies this: Please verify, this feature request slipped our queries and didn't get a test plan item.

Cool 馃憤

Cool 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VitorLuizC picture VitorLuizC  路  3Comments

curtw picture curtw  路  3Comments

lukehoban picture lukehoban  路  3Comments

shanalikhan picture shanalikhan  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments