Steps to Reproduce:
Hi, I need submit feature request.
I think if you have flag -f
to directly open vscode on fullscreen mode it will be nice
Here's available CLI command on [email protected]
❯ code --help
Visual Studio Code 1.10.2
Usage: code [options] [paths...]
Options:
-d, --diff Open a diff editor. Requires to pass two file paths as arguments.
-g, --goto Open the file at path at the line and character (add :line[:character] to path).
--locale <locale> The locale to use (e.g. en-US or zh-TW).
-n, --new-window Force a new instance of Code.
-p, --performance Start with the 'Developer: Startup Performance' command enabled.
-r, --reuse-window Force opening a file or folder in the last active window.
--user-data-dir <dir> Specifies the directory that user data is kept in, useful when running as root.
--verbose Print verbose output (implies --wait).
-w, --wait Wait for the window to be closed before returning.
--extensions-dir <dir> Set the root path for extensions.
--list-extensions List the installed extensions.
--show-versions Show versions of installed extensions, when using --list-extension.
--install-extension <ext> Installs an extension.
--uninstall-extension <ext> Uninstalls an extension.
--disable-extensions Disable all installed extensions.
--disable-gpu Disable GPU hardware acceleration.
-v, --version Print version.
-h, --help Print usage.
Any update?
@johndebord @rohmanhm
No one mentioned but while -f doesn't get implemented, there's 2 settings that may help you to achieve what you want:
Set "window.restoreFullscreen": true
and "window.newWindowDimensions": "fullscreen"
and if you exit VSCode in fullscreen it will always open in fullscreen, and also new windows will follow it.
Hope it helps.
And "window.newWindowDimensions": "maximized"
👍
@ictgtvt @fleps
@a-eid
It's case sensitive my man.
window.newWindow
@fleps still showing that it is an Unknown configuration setting.
I use this on OSX, hope it will be helpful. Just replace the command code with codef.
#!bin/sh
codef() {
code $* && sleep 0.5 && /usr/bin/osascript -e \
'tell application "Visual Studio Code"
activate
tell application "System Events"
keystroke "f" using {control down, command down}
end tell
end tell'
}
We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding and happy coding!
Most helpful comment
@johndebord @rohmanhm
No one mentioned but while -f doesn't get implemented, there's 2 settings that may help you to achieve what you want:
Set
"window.restoreFullscreen": true
and"window.newWindowDimensions": "fullscreen"
and if you exit VSCode in fullscreen it will always open in fullscreen, and also new windows will follow it.Hope it helps.