Keybindings don't work when joining a live share workspace
Describe what happened: Local settings (in this case, keybinds) don't seem to apply when in a live share window.
What was your system configuration? Product and Version [VS/VSCode]: 1.60.0 OS Version[macOS/Windows]: MacOS Live Share Extension Version: v1.0.4761 Target Platform or Language [e.g. Node.js]: C#
Steps to Reproduce / Scenario:
- Install Sublime keybindings
- Join workspace, open two files
- Press Cmd+2 to switch to tab 2
Expected results: switches to tab 2 Actual results: opens empty pane to the right
Please attach logs to this issue: You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue Private workspace, please reach out to me privately on Teams for logs.
Screenshots If applicable, add screenshots to help explain your problem.
Hi @stewartadam, I was trying to repro this on our latest build and couldn't repro it. Does it still repro for you?
I just tried again and can confirm the behavior with:
Version: 1.63.2 Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3 Date: 2021-12-15T09:37:28.172Z Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Darwin x64 21.2.0
I'm using extension with ID=ms-vscode.sublime-keybindings to provide the Sublime keybindings.
Had chat with @stewartadam,
Summary: Host can use extension-based key shortcut but Client cannot (local windows apply extension overrides, but joining a liveshare does not)
- When joining liveshare, it appears to switch to its VS Code default shortcuts
- Install extension ms-vscode.sublime-keybindings Lookup action "Add Cursors to Line Ends" editor.action.insertCursorAtEndOfEachLineSelected, it should be Ctrl+Shift+L on Windows / Cmd+Shift+L on Mac if the sublime extension is active
Any status on this? I am still struggling with it.
Thank you for filing the issue. We're unable to prioritize a fix for this currently, but we will re-evaluate in the next quarter.
Is there an update?
This is still happening @fubaduba @derekbekoe can any progress be made here?
This is v. annoying since I basically can't use any shortcuts when co-editing.
I suspect this has to do with the sublime keybindings coming from an extension?
We’re not able to prioritize this issue over the other higher-impact issues we receive every week, based on the votes and comments from others in the community and our understanding of the issue. We understand this may be disappointing; we've all been there, whether in this project or others we've contributed to. However, rest assured that we love your input. If you feel it deserves to stay open, then clarify your use case and contact us to let us know how severe it’s for you.
If you feel it deserves to stay open, then clarify your use case and contact us to let us know how severe it’s for you.
@derekbekoe I do think it deserves to stay open.
Usecase: I use an extension that changes keybinds (the one that makes them like in jet brains IDEs). When connecting to someone through live-share, this extension does not work, which means I get the default keybinds.
This makes it impossible to me to do anything through live share, but the most basic task.
Examples of things that I can't do:
- See an item's documentation
- Go to definition
- Jump back and forth in the cursor history
- Jump to a matching brace
- and so on
I'd say it's pretty severe, to not be able to use custom keybinds.
+1 this reduces liveshare to only being useful for basic typing or following along if you have extension-provided keybinds.
I've been using JetBrains editors instead since their code collaboration tools retain all your local settings and extensions.