ls1intum / Apollon

UML Modeling Editor written in React
https://apollon-library.readthedocs.io
MIT License
65 stars 22 forks source link

More Editor Shortcuts (CTRL + S) #301

Open leonsmnts opened 11 months ago

leonsmnts commented 11 months ago

Is your feature request related to a problem?

It would be pretty nice to have certain shortcuts at hand: For example if working on a diagram one might want to save it to JSON. Create a shortcut like CTRL + S or something else to save as JSON. Right now I always have to click on File -> Export -> As JSON, which gets pretty annoying if one does this quite often. There are already shortcuts present for Undo and Redo, so I guess it wouldn't be too much work to create shortcuts for some other often used functionality as well.

Describe the solution you'd like

Create some more shortcuts. CTRL + (sth) -> Export as JSON The next step would be a settings panel to edit own shortcuts, but that I think would be overkill for Apollon since there are not that many things that would be nice to have shortcuts for I think.

Describe alternatives you've considered

I haven't considered any. I guess if Apollon-Devs are completely against creating another shortcut, maybe it's too difficult with current project setup, it would be possible to create a Tampermonkey-script or something that click the button on shortcut? CTRL + S in app is cleaner though I believe.

Additional context

Pretty self-explanatory

Thank you very much for consideration and creation of such a nice tool!