The same goes for (, { and comments ". Also I use alt+shift+t / alt+shift+f
to insert ifTrue: / ifFalse: (alt+shift will be probably different on
non-linux).
And the most important shortcut of all ctrl+shift+f to reformat code
(doesn't work in workspace :'( ).
Also ctrl+alt+r / ctrl+alt+l to indent (move right) / de-indent (move left)
selection (unlike code formatting works also in workspace).
Maybe this could be written somewhere centrally along with other shortcuts
in other contexts? (do it / browse / switch between windows, open workspace
/ etc.).
Shortcuts are great but I find them mostly by accident. :(
On Wed, Oct 1, 2014 at 7:09 PM, Alexandre Bergel <alexandre.bergel(a)me.com>
wrote:
Hi!
I am not sure if other have seen this. Select a piece of text in a
workspace, and type:
cmd-shift-‘
=> insert ‘ … ‘ around the selected text
cmd-shift-[
=> insert [ … ]
Cool!
Are there other shortcuts?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev