Skip to content

Instantly share code, notes, and snippets.

@carlosleonam
Last active August 12, 2023 13:49
Show Gist options
  • Save carlosleonam/ff73479774d0aad89c01ed1fde1e2a44 to your computer and use it in GitHub Desktop.
Save carlosleonam/ff73479774d0aad89c01ed1fde1e2a44 to your computer and use it in GitHub Desktop.
VSCODE - Resize Current Window Manually

VSCODE - Resize Current Window Manually

(Stackoverflow)[https://stackoverflow.com/questions/44412233/how-to-set-window-size-and-position-in-visual-studio-code#answer-68764796]

One way I found to solve this was by using the Developer Tools Console:

Help -> Toggle Developer Tools -> Console Tab

Type:

window.resizeTo(1900, 1060);

Press Enter

Note: Tested on Windows 10, Ubuntu, OSX

Sidenote: Ubuntu had some strange behaviour bringing up the menu and developer tools. I had to open the developer tools while maximized, then undock the developer tools, then unmaximize the window, then type the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment