philiphendry / ExcalidrawInVisualStudio

A basic integration of Excalidraw diagramming tool in a Visual Studio extension.
MIT License
1 stars 0 forks source link

Pressing ctrl+s in the editor should save the file in Visual Studio #10

Closed philiphendry closed 1 month ago

philiphendry commented 1 month ago

When the excalidraw has focus all keyboard shortcuts are received by it and therefore shortcuts, such as ctrl+s (save file) or ctrl+shift+s (save all files) don't work since Visual Studio never receives them. The implementation should consider that the keyboard shortcuts, though unlikely, may have been re-defined so the commands requiring "keyboard forwarding" should be fetched and the keyboard shortcuts read from them.