Skip to content
This repository has been archived by the owner on Jun 30, 2019. It is now read-only.

Keyboard shortcuts #14

Open
utybo opened this issue Apr 24, 2018 · 1 comment
Open

Keyboard shortcuts #14

utybo opened this issue Apr 24, 2018 · 1 comment

Comments

@utybo
Copy link
Owner

utybo commented Apr 24, 2018

OpenBST would be much nicer to use with keyboard shortcuts.

The editor already supports Ctrl+S, Cltr+Z and Ctrl+Y (for text areas)

This table will contain keyboard shortcuts required.

Template for adding a line :

TBD | `Ctrl+X+Z` | This is an amazing shortcut

General scope

State Shortcut Description
OK F2 Open the menu
OK Ctrl+O Open a file (reading)
OK Ctrl+Shift+O Open a file (editing)
OK Ctrl+N Create a new file (editing)
OK Ctrl+Right Go to the next tab
OK Ctrl+Left Go to the previous tab
OK Ctrl+W Close tab (if possible)

Player scope

State Shortcut Description
OK Ctrl+S Create a save state
OK Ctrl+D Return to latest save state
OK Ctrl+E Export save state
OK Ctrl+I Import save state
OK Ctrl+R Reset
OK Ctrl+Shift+R Hard reload
OK Ctrl+Alt+R Soft reload
OK Ctrl+J Open Jump to Node dialog
OK Ctrl+G Open variable watcher
OK Ctrl+B Switch background visibility
OK Ctrl+Shift+B Open background
OK Ctrl+M Mute/Unmute
OK Ctrl+[1-9] Select option [1-9]
OK Ctrl+Numpad [1-9] Select option [1-9]
OK Ctrl+0 Select option 10
OK Ctrl+Numpad 0 Select option 10

Editor scope

State Shortcut Description
OK Ctrl+S Save
OK Ctrl+Shift+S Save as
OK Ctrl+P Play
OK Ctrl+1 Jump to "Details" tab
OK Ctrl+2 Jump to "Nodes" tab

Messagers scope

Messagers are the dialog boxes used.

State Shortcut Description
OK Esc Close (same as Cancel)
@utybo
Copy link
Owner Author

utybo commented Apr 24, 2018

Unfortunately Ctrl+Tab to cycle through tabs does not seem to be possible, since the Tab key is already "eaten" by Java cycling through individual components.

So the shortcuts will be :

  • Ctrl+Right to go to the next tab
  • Ctrl+Left to go to the previous tab

@utybo utybo self-assigned this Apr 25, 2018
utybo added a commit that referenced this issue Apr 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant