Minimal UI settings for editor workspace#47
Open
AnonymousWalker wants to merge 1 commit intogenesis-ai-dev:mainfrom
Open
Minimal UI settings for editor workspace#47AnonymousWalker wants to merge 1 commit intogenesis-ai-dev:mainfrom
AnonymousWalker wants to merge 1 commit intogenesis-ai-dev:mainfrom
Conversation
|
|
||
| // simplify editor UI when lauching to avoid overwhelming the user | ||
| config.update('window.menuBarVisibility', 'toggle', vscode.ConfigurationTarget.Global); | ||
| config.update('window.commandCenter', false, vscode.ConfigurationTarget.Workspace); |
Collaborator
There was a problem hiding this comment.
Okay this looks helpful. I suppose we probably want a function to toggle, and then include some logic for switching between false/true or whatever string is necessary for a given setting.
Contributor
Author
There was a problem hiding this comment.
I believe it will be accessible via "Alt" key press.
// Control the visibility of the menu bar. A setting of 'toggle' means that the menu bar is hidden and a single press of the Alt key will show it. A setting of 'compact' will move the menu into the side bar.
// - classic: Menu is displayed at the top of the window and only hidden in full screen mode.
// - visible: Menu is always visible at the top of the window even in full screen mode.
// - toggle: Menu is hidden but can be displayed at the top of the window via the Alt key.
// - hidden: Menu is always hidden.
// - compact: Menu is displayed as a compact button in the side bar. This value is ignored when `window.titleBarStyle` is `native`.
"window.menuBarVisibility": "classic",
https://code.visualstudio.com/docs/getstarted/settings#_default-settings
bd2e9ce to
9aad945
Compare
3f6631b to
b9a7c25
Compare
6631298 to
0fdbbe1
Compare
921e8e8 to
c44205e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Toggles away some of the menus and panels to avoid overwhelming the user/translator