CTRL+SHIFT+S for save as
These aren't documented in the app right now, we should add them to the README
Mnemonics:
To use them, you need to see the first letter of some menu options underlined. If this isn't the case, press Alt once and it should happen. Once you do that, pressing the underline key should open the corresponding menu or activate the corresponding menu item, as if it had been pressed.
Tests:
Couldn't make tests for the save as, because I couldn't mock the file chooser dialog constructor (mockConstruct was ignored and there's no Platform.runLater workaround). The delete and regular save (when a file path is already defined) are tested both via mnemonics and direct keybinds.
Keybinds:
Mnemonics: To use them, you need to see the first letter of some menu options underlined. If this isn't the case, press Alt once and it should happen. Once you do that, pressing the underline key should open the corresponding menu or activate the corresponding menu item, as if it had been pressed.
Tests: Couldn't make tests for the save as, because I couldn't mock the file chooser dialog constructor (mockConstruct was ignored and there's no Platform.runLater workaround). The delete and regular save (when a file path is already defined) are tested both via mnemonics and direct keybinds.