Skip to content

Conversation

sbatten
Copy link
Member

@sbatten sbatten commented Oct 2, 2018

bring back dynamic menubar for macOS and use a caching mechanism
resolves #58928

@sbatten sbatten added macos Issues with VS Code on MAC/OS X workbench-menu labels Oct 2, 2018
@sbatten sbatten self-assigned this Oct 2, 2018
@sbatten sbatten requested a review from bpasero October 2, 2018 21:38
Copy link
Member

@bpasero bpasero left a comment

Choose a reason for hiding this comment

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

This seems to work nicely.

In the spirit of keeping the data in the state service to a minimum, can we maybe try to produce less verbose data? All of this goes into one file (/Users/<name>/Library/Application Support/code-oss-dev/storage.json) that is saved on each change, so I would like to avoid producing too much data. Some things that would help:

  • remove the now obsolete lastKnownKeybindings after we have made the transition fully
  • all menu items seem to be enabled, so remove this property
  • remove the redundant keybinding from menu items, that data seems to be duplicate for the lastKnownAdditionalKeybindings that we also store

@bpasero bpasero added this to the October 2018 milestone Oct 3, 2018
@sbatten sbatten merged commit c301189 into microsoft:master Oct 3, 2018
@sbatten
Copy link
Member Author

sbatten commented Oct 3, 2018

@bpasero creating a separate issue to reduce menu cache verbosity

@sbatten sbatten deleted the dynamicMenus branch October 3, 2018 17:11
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
macos Issues with VS Code on MAC/OS X
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reenable dynamic menus on macOS in Insiders
2 participants