Skip to content

keybindings.json causes UI to freeze for several seconds #77882

@russelldavis

Description

@russelldavis
  • VSCode Version: 1.36.1 (also repros on insiders build)
  • OS Version: macOS Mojave 10.14.6

Steps to Reproduce:

  1. From the command pallete, choose "Preferences: Open Default Keyboard Shortcuts (JSON)
  2. The UI freezes for several seconds.
  3. Switch to any other tab.
  4. The UI freezes for several seconds again.

While the keybindings.json file is open, it will continue to freeze when switching between any two tabs.

This seems to be caused by the code that's populating errors in the Problems panel for the keybindings. It seems like a separate bug that VSCode ships with problems in the default keybindings, but regardless, any problems there shouldn't cause the UI to freeze like this.

It also happens if you have errors in the user-generated keybindings file. The more errors, the longer the UI freezes.

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugerror-listProblems viewfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions