Skip to content

How to custom the title bar in Visual Studio Code on Linux

Posted on:April 23, 2023 at 02:25 PM
Version française

Reduire la barre de titre de VS Code sur Linux

Si vous utilisez VS Code sur Linux, vous avez peut-être remarqué que la barre de titre prend beaucoup de place et que cela peut être gênant, surtout si vous utilisez un petit écran. Heureusement, il est possible de la reduire.

Pour cela, il faut ajouter la ligne suivante dans le fichier settings.json de VS Code :

"window.titleBarStyle": "custom"

Ensuite, il faut redémarrer VS Code pour que les changements prennent effet.

Voici un avant/après pour illustrer la différence :

Avant :

vscode title bar before

Après :

vscode title bar after

English version

If you are using VS Code on Linux, you may have noticed that the title bar takes up a lot of space and can be annoying, especially if you have a small screen. Fortunately, it is possible to remove it.

To do this, you need to add the following line to the settings.json file of VS Code:

"window.titleBarStyle": "custom"

Then, you need to restart VS Code for the changes to take effect.

Here is a before/after to illustrate the difference:

Before:

vscode title bar before After: vscode title bar before