Code-server: Can't unbind some keys

Created on 10 Sep 2020  路  8Comments  路  Source: cdr/code-server

F10 is bound to Step Over but it doesn't work because it's bound to Focus Application Menu. Rebinding Focus Application Menu just creates a new keybinding instead of changing the default so there's no way to work around this currently.

See https://github.com/cdr/code-server/discussions/2070 for more details.

bug

Most helpful comment

For now, to make F10 works for Step Over, you can patch file <code-server>/lib/vscode/out/vs/workbench/workbench.web.api.js, search for {primary:68 and replace with {primary:0. Here is my command to patch it:

sudo sed -i 's/{primary:68/{primary:0/g' /usr/lib/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js

All 8 comments

I think there are others that can't be removed either, like F1 to show the command palette.

For now, to make F10 works for Step Over, you can patch file <code-server>/lib/vscode/out/vs/workbench/workbench.web.api.js, search for {primary:68 and replace with {primary:0. Here is my command to patch it:

sudo sed -i 's/{primary:68/{primary:0/g' /usr/lib/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js

For now, to make F10 works for Step Over, you can patch file <code-server>/lib/vscode/out/vs/workbench/workbench.web.api.js, search for {primary:68 and replace with {primary:0. Here is my command to patch it:

sudo sed -i 's/{primary:68/{primary:0/g' /usr/lib/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js

i dont find th /lib/vscode folder

i dont find th /lib/vscode folder

It's in code-server folder which is /usr/lib/code-server in my case.

i dont find th /lib/vscode folder

It's in code-server folder which is /usr/lib/code-server in my case.

Its working锛孴hanks

Is there an ETA on this bug? Thank you.

Not yet, we haven't made any plans to work on it especially since it
might make more sense to fix it upstream.

Thanks for the quick response. I understand I guess the temporary fixed posted above would be ok for now. Cheers.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

infogulch picture infogulch  路  3Comments

sa7mon picture sa7mon  路  3Comments

justmao945 picture justmao945  路  3Comments

lshamis picture lshamis  路  3Comments

oonqt picture oonqt  路  3Comments