Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full width tab glyph for editor.renderWhitespace #25021

Open
henderjon opened this issue Apr 19, 2017 · 11 comments
Open

full width tab glyph for editor.renderWhitespace #25021

henderjon opened this issue Apr 19, 2017 · 11 comments
Labels
editor-render-whitespace Editor whitespace rendering issues feature-request Request for new features or functionality
Milestone

Comments

@henderjon
Copy link

When viewing invisible characters (editor.renderWhitespace), I would like the character/glyph used for tabs to extend across the full width of the tab (N spaces / to the next tab stop). Sublime Text 3 uses what looks like an emdash(?) or essentially a line than runs to the next tab stop. VSCode uses a single character width arrow.

In descending order of preference:

  • a line that extends the full tab width (to the next tab stop) like ST3
  • an arrow that extends the full tab width (to the next tab stop)
@henderjon henderjon changed the title Choose a tab glyph for editor.renderWhitespace full width tab glyph for editor.renderWhitespace Apr 19, 2017
@mjbvz mjbvz added editor feature-request Request for new features or functionality labels Apr 19, 2017
@chmln
Copy link

chmln commented Apr 23, 2017

Here are screenshots for illustration.

Sublime:

subl

Code:
code

Seems like a minor detail at first but IMO the arrows look quite unpleasant.
Since Code already renders spaces nicely with dots, it'd be great if tabs weren't discriminated either 😄

@chmln
Copy link

chmln commented Apr 23, 2017

For those who don't like waiting:
See https://marketplace.visualstudio.com/items?itemName=chmln.better-whitespace

@alexdima alexdima added this to the Backlog milestone May 22, 2017
@alexdima alexdima removed their assignment May 22, 2017
@alexdima alexdima self-assigned this Nov 23, 2017
@alexdima alexdima modified the milestones: Backlog, On Deck Nov 23, 2017
@alexdima alexdima added editor-rendering Editor rendering issues and removed editor labels Nov 24, 2017
@mattnb
Copy link

mattnb commented Dec 5, 2017

+1.

I'm giving VSCode a shot after coming from ST3 and while this is a subtle change it's absolutely the sort of thing that would keep me from converting. I'm someone who uses 2 character indentation and likes to see whitespace, so I find the arrows to be massively distracting.

@alexdima alexdima modified the milestones: On Deck, Backlog Apr 17, 2018
@alexdima alexdima removed their assignment Apr 17, 2018
@eamodio
Copy link
Contributor

eamodio commented Jun 5, 2018

If not full-width, I'd love to have control over the glyph character used itself.

@CoericK
Copy link

CoericK commented Oct 19, 2018

Here are screenshots for illustration.

Sublime:

subl

Code:
code

Seems like a minor detail at first but IMO the arrows look quite unpleasant.
Since Code already renders spaces nicely with dots, it'd be great if tabs weren't discriminated either 😄

Hey @chmln I'm going crazy, how can I enable arrows? I Did "editor.renderWhitespace": "all" or boundary but it still shows dots instead of arrows

@kopepasah
Copy link

@CoericK dots indicate spaces, while arrows indicate tabs.

@kopepasah
Copy link

@alexandrudima any update on the ability to show a different character/glyph for tabs?

@alexdima alexdima added editor-render-whitespace Editor whitespace rendering issues and removed editor-rendering Editor rendering issues labels Oct 25, 2019
@hfelix
Copy link

hfelix commented Jan 10, 2020

On my case it was no showing the arrow on tab. Just dots on tab and spaces.
I needed to set:
"editor.detectIndentation": false,

Then the spaces still dots and tab became arrow.

@steveoh
Copy link

steveoh commented Apr 15, 2020

I'd love to have control over the glyph character used for tab and space

@xaxazak
Copy link

xaxazak commented Dec 22, 2020

I also find this a significant negative coming from ST3.
I would add that if this gets added, it would be nice to be able to customize the line's width, margins, color and opacity.

@danky78
Copy link

danky78 commented Mar 20, 2021

It would be nice if we can choose two characters, the fill one and the right one.
So if we choose "-" and ">" a tab that would span across 5 characters would render as: ---->
And we can use any other unicode character that renders pretty with our font, like: ──▷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-render-whitespace Editor whitespace rendering issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests