Start Visual Studio Code maximized from Bash

I am working on a project consisting of several components, which are separately opened in different Visual Studio Code instances, running on different displays. In order to set everything up more quickly on a day-to-day basis, I wrote a very small bash script, initializing all instances. The script contains multiple lines like this:

code <folder-path> --new-window

However, windows created this way have to be maximized manually, an effort, which I would also like to automatize. Is there any way to start a new Visual Code instance from terminal with a maximized window? I already checked the help-options, but there doesn't seem to be dedicated options for displaying the window.


Changing the setting window.newWindowDimensions in Visual Studio Code to maximized worked for my case. For more complex cases and moving windows to different displays, I would suggest Wnck as described in this answer.