The #IndentSnippet and #UnindentSnippet shortcuts defined in LeSnippetElement class >> #initializeKeyboardShorcuts are currently primary + bracket.
On some keyboards such as my de-CH one, brackets however have to be entered by [AltGr]+key or [primary]+[secondary]+key, so that (un)indenting by keyboard doesn't work at all.
For me, I've redefined the shortcuts to
LeSnippetElement keyboardShortcuts
at: #IndentSnippet
put: BlKeyCombinationBuilder new alt shift arrowRight build;
at: #UnindentSnippet
put: BlKeyCombinationBuilder new alt shift arrowLeft build.
which is also consistent with moving snippets up and down (which are [secondary]+[shift]+[arrow]).
Please consider at least adding these shortcuts (if not replacing the bracket-based ones) for international keyboards. Thanks.
The
#IndentSnippetand#UnindentSnippetshortcuts defined inLeSnippetElement class >> #initializeKeyboardShorcutsare currently primary + bracket.On some keyboards such as my de-CH one, brackets however have to be entered by [AltGr]+key or [primary]+[secondary]+key, so that (un)indenting by keyboard doesn't work at all.
For me, I've redefined the shortcuts to
which is also consistent with moving snippets up and down (which are [secondary]+[shift]+[arrow]).
Please consider at least adding these shortcuts (if not replacing the bracket-based ones) for international keyboards. Thanks.