On Apr 4, 2013, at 10:30 AM, Johan Brichau <johan@inceptive.be> wrote:
Hi Esteban,
I tend to agree with your argument but...
about the current defaults, "enter" is the one that is choose for 99% of IDEs around the world (and yes, the 1% default is probably just Pharo 1.4).
All those IDEs offer both <tab> and <enter> to trigger code completion. If I enable <enter> in Pharo, the <tab> no longer works.
yes, then there is room for improvement :)
I also wonder why I don't find the <enter> behavior annoying in other IDEs. Can it be the case that Smalltalk code has more 'line ends' that just terminate with a word? In many other languages, a code line is more often terminated with a non alphanumeric character (separators, braces, etc...). I am not sure about this but I wonder...
I bet is because you were used to use tab in Pharo... it will be as smooth as in other IDEs as soon as you change the mindset :)
In any case, is it difficult to enable the both <tab> and <enter>?
yes and no... I mean. It is easy, but is hardcoded in NECController>>handleKeystrokeBefore:editor: so... you can hack around there :) Esteban
cheers, Johan