2

I want to have more spacing between the two terms in the window title. But adding multiple spaces in settings.json window.title property does not work. It seems to treat multiple spaces as one.

"window.title": "${activeEditorShort}     ${rootName}",

I've also tried various workarounds without success:

  •  
  • copy/pasting the Unicode non-breaking space U+00A0

I'm on a mac, not sure if it's the mac OS that is the problem, or VS Code.

1
  • is your name perhaps a reference to the UW mascot Bucky Badger? Commented Sep 22, 2017 at 21:03

1 Answer 1

4

I was able to get this to work by using Unicode em space or en space characters. Those do not get "squashed" into a single space.

An example with 4 em space's:

"window.title": "${activeEditorShort}    ${rootName}",

You can copy the unicode character inside the square brackets:

[ ] U+2003 em space (wider)

[ ] U+2002 en space (narrower)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.