Open tigerhawkvok opened 4 years ago
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
Yeah, it was a mistake IMO to model these as a single value. Should be a series of checkboxes, e.g:
Are there any news on this one? I'd love to have it fixed for use in markdown editing 🙂.
Yeah, it was a mistake IMO to model these as a single value. Should be a series of checkboxes, e.g:
* Render trailing whitespace * Render leading whitespace * Render all whitespace in selection * And one for the "boundary" option, which I frankly don't even understand.
Boundary is trailing + leading + more than single space within the text. This is boundary, the red arrow is the whitespace rendering for more than single space
If it was a series of checkboxes it would solve my request, I want boudary without the last one, I could just tick leading and trailing.
Hi, I would like to implement this.🖐️
In my opinion, you could model this with an array of strings (corresponding to the options) or an object with the options as keys and booleans as values. Feel free to suggest other ways.🙂
Also, are there any other requirements from the core contributors?
I like the suggestions above, but I'm not certain the VS Code team would be happy with a bunch of checkboxes. As an alternative, we could:
Selection
option from the Editor: Render Whitespace
enum
Leading + Trailing
I feel like the "selected" option is distinct enough that it deserves its own setting.
Would a PR be accepted for this?
Bumping this as it seems like it's been forgotten
any updates on this feature? would be very useful for me and evidently many others, thanks!
Right now you're limited to picking between
selection
(old) ortrailing
(new), but if you want both behaviours you're out of luck.There should be an option allowing both to be true.