Sean P. DeNigris wrote
Johan Brichau-2 wrote
fwiw, I changed the implementation of NECController to: - accept both <enter> and <tab> for code completion - still use <tab> to first complete the common prefixes, but a subsequent <tab> will select the suggestion
Maybe people should give this a try and see? Sounds cool. I will start using it and report back. Thanks!
I like it :) I can still disable enter-to-accept, and the tab twice for full completion thing is great. After cranking up Xcode and navigating around, one thing I noticed was that the C file I was looking at ended every line with a non-alphanumeric character (e.g. $", $; $)), so enter would never accidentally complete anything when what one meant to do was get a cr. As mentioned above, this is not the case for st and I think disabling enter-to-accept makes more sense as the default. I'd rather have new users asking and us explaining that it can be turned on, than have them annoyed by e.g. typing "String" <cr> and ending up with "StringApiSetter", which I found very jarring. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Issue-10219-Completion-enter-on-accept-awkwardness-tp4... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.