keybindings.json doesn't take effect till reloading · Issue #2279 · coder/code-server · GitHub
Skip to content

keybindings.json doesn't take effect till reloading #2279

Description

@hyw208

I created a docker image with ~/.local/share/code-server/keybindings.json pre-populated to get around F10 used for menubar focus which conflicts with F10 debug: step over for python. The keybindings.json is as follow
[
{
"key": "f10",
"command": "-workbench.actions.menubar.focus"
}
]

However it doesn't work till I bring up keybindings.json (with command palette -> Preferences: Open Keyboard Shortcuts (JSON)), which is interestingly empty even though I provided the file under the same path. Then I have to copy the content above and save this keybindings.json brought up by command palette. Then it will start working. The trouble is that I have to do it every time I restart the docker instance.

There was a closed issue "150" below but it's still not fixed for linux
#150

  • Web Browser: Chrome
  • Local OS: Window 10
  • Remote OS: Redhat 7
  • Remote Architecture: AMD
  • code-server --version: 3.6.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions