Steps to Reproduce:
The new window has some pre-defined size. I would expect that it has the same size as the first one.
It's probably a personal preference. It should be a user setting instead of hard-coded.
+1. Need this as a preference setting option.
adding desc from #17105 to also include window position:
When I open a new window in VS Code (Ctrl/Cmd+Shift+N), the new window takes about 1/3 of the screen and I need to manually resize it to make it bigger. (On Windows this may not be a huge issue since there's the maximize button. But on a Mac, laborious manual resizing is needed to keep windows in the same space.)
Wanted behavior: The window is sized and positioned with the size and position taken from the last user-sized and the last user-positioned window.
Possible workaround if this is hard to implement: add an option to specify new default window size and an option to specify a new default window position, both in pixels.
On Windows this may not be a huge issue since there's the maximize button
It's still annoying having to perform extra steps.. I dislike this:
It's a little annoying that the window size is different depending on whether it's the first time you launch code or not!
I too find this annoying. I like keeping VS Code window at a certain position / size and have a browser window open next to it, but when I open a second project / window I have to manually resize it (or close the first window beforehand).
I think this should be saved somewhere in workspace settings or globally per folder.
A new setting window.newWindowDimensions allows to control how new windows should open. By default, a new window will open in the center of the screen with small dimensions. If you change this setting to inherit, the new window will get the same dimensions as the last active one. Setting it to maximized or fullscreen will always open new windows either maximized or in fullscreen.
Can I customize new window size?
Most helpful comment
A new setting
window.newWindowDimensionsallows to control how new windows should open. By default, a new window will open in the center of the screen with small dimensions. If you change this setting toinherit, the new window will get the same dimensions as the last active one. Setting it tomaximizedorfullscreenwill always open new windows either maximized or in fullscreen.