> it does not help me much because it���s case sensitive.

add to your startup settings
NECPreferences caseSensitive: false

(or��Settings > Code Completion > Case Sensitive)

> just ignore middle word suggestions.

so Dict would match "Identity<Dict>ionary", but not "interdiction"? That sounds good.

> I think that there are many limitations because you are editing a text and not ast. Would be nice to have a placeholders like in xCode that allow you to enter parameters one by one after you���ve autocompleted multi-parameter message.��

The highlighter currently uses AST even as I type (if I am not mistaken), so it should be available there, but it surely requires investigation.

I'm not familiar with xCode/Objective-C, but the syntax seem that they wrap methods in brackets [] so you always knows the context of the parameter, no?

>��I see a lots of potential��doing precise code completion in the debugger/inspector/workspace based on��the runtime information available.

Yes, this is a good idea (although iterating on the result of the method can leave you blind again...).

>��Once I started digging into NECCompletion (or something like this) but its��inner behavior wasn't that trivial to me.

I'm currently going through��http://users.dcc.uchile.cl/~rrobbes/p/ASE2008-completion.pdf and��http://link.springer.com/article/10.1007/s10515-010-0064-x (dunno if there's non-paywalled link)��to get better idea of how it works... and I can already see why there's limited progress :)

>��Yes, and we need to change it to use the AST instead of Shout��� that could simplify it a lot.

Which makes me wonder whether it would make sense to start something small from scratch instead of trying to force AST into the current one.

But we'll see...

Peter

On Mon, Oct 5, 2015 at 3:35 PM, Attila Magyar <m.magyar3@gmail.com> wrote:

> do Smalltalkers not like code completion? Because the one in Pharo is
> really poor and not only that nobody is doing anything about it, but also
> nobody is complaining

Agree, and this can be improved significantly. I see a lots of potential
doing precise code completion in the debugger/inspector/workspace based on
the runtime information available.

http://forum.world.st/Customised-auto-completion-to-give-priority-to-specific-packages-tp4841003p4844128.html

Once I started digging into NECCompletion (or something like this) but its
inner behavior wasn't that trivial to me.



--
View this message in context: http://forum.world.st/Better-Code-Completion-tp4853548p4853703.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.