Repository navigation
Keyboard shortcuts for key features - #174
Merged
Merged
Conversation
…d and tested Tools Ctrl+1..6 (Select also stays on Q), Collapse Ctrl+G, Up a level Alt+Up, Close model Ctrl+W, Preferences Ctrl+comma, Explorer/Inspector/Data Tables Ctrl+Shift+E/I/D, and Ctrl+F for Find item from the canvas or the Explorer. Every shortcut is named in its tooltip. docs/KEYBOARD_SHORTCUTS.md (the page Help > Keyboard Shortcuts shows) lists them, plus the nudge and F2 keys that were missing. Tests: no two live shortcuts clash, and the doc and the app agree.
…eat/keyboard-shortcuts # Conflicts: # raptor/gui/ui/data_tables.py
…to feat/keyboard-shortcuts # Conflicts: # raptor/gui/ui/diagram.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #173. Stacked on #170 (which brings #165 with it); merge those first.
Added, all conventional and none a bare letter:
Every shortcut is now named in its command's tooltip, e.g. 'Add Block (Ctrl+2)'. docs/KEYBOARD_SHORTCUTS.md, the page Help > Keyboard Shortcuts shows, lists them and the nudge (arrows, Shift+arrows) and F2 keys that were missing.
Tests: no two shortcuts that can be live together clash; every shortcut in the doc exists in the app and the other way round; the new ones are bound; Ctrl+F reaches the Find box. Ribbon snapshot regenerated (shortcuts and tooltips only).
Not added: Duplicate (Ctrl+D). It would have to go through the paste buffer and the system clipboard, clobbering what the user copied; Ctrl+D is also Fill Down in Data Tables (fork G's PR), so it stays free. Import Library and Export Tables stay mouse-only. Merge note: fork G's PR also edits docs/KEYBOARD_SHORTCUTS.md (Ctrl+F filter bar, Ctrl+D fill down); the lines are in different sections but expect a small doc conflict. The doc test will then need those two keys, which G's branch binds in code (add 'Ctrl+D' if it is a QShortcut it will be found automatically).