microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 294 forks source link

Keyboard shortcut to toggle between raw and code cell #16158

Open DonJayamanne opened 4 weeks ago

DonJayamanne commented 4 weeks ago

Could we support a keyboard shortcut to support switching language to "raw" similar to how there's one for switching to code or markdown? Jupyter uses "r" for this. Raw cells can be converted to markdown with "m" shortcut, but not to code with "y" shortcut. I suppose one could adjust the "y" shortcut's "when" condition to resolve this (I haven't tried this) but I guess it should be fixed by default anyway.

Originally file here https://github.com/microsoft/vscode-jupyter/issues/16122