marimo-team / vscode-marimo

marimo vscode extenion
https://marketplace.visualstudio.com/items?itemName=marimo-team.vscode-marimo
MIT License
17 stars 3 forks source link

Keyboard shortcuts to switch tabs not working in VSCode #15

Open janmechtel opened 5 months ago

janmechtel commented 5 months ago

I use Ctrl+Shift+ArrowUp/Down to switch tabs in VS Code.

When the marimo browser tab is focused, then the shortcuts stop working

mscolnick commented 4 months ago

We don't do anything to capture these - we use VSCode's Webview API and keyboard events within the webview do not automatically bubble up to VSCode. This behavior is by design to allow the webview content to handle keyboard inputs independently.

We could bubble up events, but it may lead to worse/unexpected behavior.