Skip to content

Conversation

@AnonymousWalker
Copy link
Contributor

Toggles away some of the menus and panels to avoid overwhelming the user/translator


// 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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@TimRl TimRl force-pushed the main branch 6 times, most recently from bd2e9ce to 9aad945 Compare January 27, 2025 19:05
@TimRl TimRl force-pushed the main branch 2 times, most recently from 3f6631b to b9a7c25 Compare February 25, 2025 16:33
@TimRl TimRl force-pushed the main branch 3 times, most recently from 6631298 to 0fdbbe1 Compare June 2, 2025 15:48
@TimRl TimRl force-pushed the main branch 6 times, most recently from 921e8e8 to c44205e Compare June 15, 2025 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants