[squeak-dev] Re: Fixing tab behaviour and browser hierarchy
appearance
Chris Muller
asqueaker at gmail.com
Wed Nov 18 20:39:18 UTC 2015
> Chris modified indenting and outdenting so that you can select a text multi
> (multiple lines also) and hit TAB to indent or SHIFT+TAB to outdent. I like
> this feature.
>
> Should we make it optional? (Prior to this, it was CMD+SHFT+L/R).
Maybe my change should be that the Control key is required. So,
Control+Tab for indent, Control+Shift+Tab for outdent, recovering Tab
as a regular character for replacement of a selection.
I must admit, I've found myself doing exactly what Eliot did; pressing
Tab to replace a selection of code. Just an old habit.
I do think I could retrain that habit without much difficulty. I can
either just press backspace (or delete), okay, its one extra key, OR,
since I use the code formatter anyway, simply don't worry about
formatting when writing. Just let the thoughts stream out my fingers
as fast as I can type, llet the machine format it when I save:
Cmd+S+s (format, save).
I think restoring the behavior Eliot wants and requiring Control is a
good solution. Manual indenting is such a rare and direct thought
anyway -- and when one is doing that, they aren't thinking about their
own stuff. That's a fine time to have to press the Control key.
More information about the Squeak-dev
mailing list
|