Fix VS Code's command centre not showing (in Linux)

Photo by Luca Bravo on Unsplash

Fix VS Code's command centre not showing (in Linux)

From my experience (on Windows), VS Code features a title bar with navigation buttons, to go back and forth between files, and more, called the Command Centre.

And on Linux, I'm surprised it doesn't display by default, just the default OS title bar; apparently, the Linux community don't do well with foreign title bars.

🔑
ctrl/cmd U moves the cursor to the previous position

settings.json

Add these lines to your settings.json

{
  "window.titleBarStyle": "custom",
  "window.commandCenter": true,
}
  • The first line changes the Code՚s title bar to the custom one — the official title bar from the Code team.

  • The second line makes the command centre visible.

Don't mind centre and center — BrE vs AmE

ctrl/cmd K + ctrl S shows Codeʼs keyboard shortcuts