Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How can I remove the file name from the top bar of the VS Code window?

Is there a way to remove the file name in the top bar? It is right next to the menu bar and I suspect that the file name is the reason why part of the menu bar is hidden (the three dots are there).

screenshot of window's top bar text, and shortened menu with three dots button to see more

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Put the following in your settings.json:

"window.title": " "

If you set it as an empty string instead of a space, it will instead display "Visual Studio Code".

Alternatively, you could be fancier and use the unicode "Zero Width Space" character (U+200B)

"window.title": "​"

You can’t really tell there’s a character in the string above because- well- it’s a space with zero width 😛

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading