VSCode Shortcuts Triggered When Typing on TextInput
Hello,
I've done a lot of research to find a solution on how to fix this, but nothing resulted so far.
I'm using it servable, and it displays the output perfectly, but when I type "A" it adds a new cell, if I type "D" twice it deletes the cell, so its triggering the VSCode shortcuts.
I have an update, i think i found how to fix it.
After trying to edit the keybindings vscode default JSON, I created a few scripts to get the default keybinds from vscode github and replace the my keybindings file with the default.
By doing that i found that the issue is that when you install "Jupyter" extension for VSCode it comes with "Jupyter Keymap", which is originating the error.
You can fix it by running this on the notebook:
!code --uninstall-extension ms-toolsai.jupyter-keymap
I have an update, i think i found how to fix it.
After trying to edit the keybindings vscode default JSON, I created a few scripts to get the default keybinds from vscode github and replace the my keybindings file with the default.
By doing that i found that the issue is that when you install "Jupyter" extension for VSCode it comes with "Jupyter Keymap", which is originating the error.
You can fix it by running this on the notebook:
!code --uninstall-extension ms-toolsai.jupyter-keymap
You can also disable the keymaps extension if you want to use the notebook elsewhere
We really need an expert on VSCode here. We had similar problems with JupyterLab but they provided CSS classes we could apply to prevent the event propagation. The same issue seems to exist for IPywidgets and unfortunately the authors of the extension have never responded: https://github.com/microsoft/vscode-jupyter-keymap/issues/7
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.