yndolok
yndolok

Reputation: 5607

How can you have VS Code open fullscreen by default?

Is there a setting to have VS Code open in fullscreen mode by default?

Upvotes: 34

Views: 10257

Answers (6)

GG.
GG.

Reputation: 21854

In the settings, search for "new window" and set "New Window Dimensions" to "fullscreen":

settings

Or edit the settings file manually and add this line:

{
  "window.newWindowDimensions": "fullscreen"
}

Upvotes: 0

Muhammad Mahad
Muhammad Mahad

Reputation: 73

  1. Open settings command-,
  2. Search maximize
  3. In New Window Dimensions setting choose Maximized

Reference:

Upvotes: 0

Adnan K
Adnan K

Reputation: 79

In Ubuntu, to take full screen, you should add in settings.json

"window.newWindowDimensions": "fullscreen",

It does not work with this one

 "window.newWindowDimensions": "maximized",

And If you want zoom out screen, add

"window.zoomLevel": -1,

Upvotes: 0

Rosco
Rosco

Reputation: 2504

The question says "fullscreen" but many users probably mean they want a maximised window that takes up the full screen.

To do this open vscode settings with Ctrl+,

Go to Window then New Window

In New Window Dimensions setting choose Maximised

setting json is

"window.newWindowDimensions": "maximized"

Upvotes: 22

Gabriel Petersson
Gabriel Petersson

Reputation: 10472

In settings.json add

  "window.restoreFullscreen": true

Upvotes: 13

yndolok
yndolok

Reputation: 5607

There's a setting to "restore fullscreen". When that setting is turned on, VS Code will open in full screen mode if you exit VS Code in full screen mode:

![enter image description here

Open the settings UI (command-, on a mac) -> search restore fullscreen -> check the Window: Restore Fullscreen setting

Upvotes: 25

Related Questions