pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.19k stars 352 forks source link

Noise in code completion #13871

Open jecisc opened 1 year ago

jecisc commented 1 year ago

While working in Pharo 12 I got multiple time some weird result in the auto completion.

See for yourself:

image

I don't know what are all those dotted suggestions.

privat commented 1 year ago

Did you (or some tools) create a lot a weird symbols?

'plop plop plop' asSymbol

now #plo suggests #plop plop plop.

Unfortunately, the completion insertion is broken as #plop plop plop is inserted instead of #'plop plop plop'. So, what do you prefer? Filter out symbols that are not identifiers or complete with the missing quotes?

jecisc commented 1 year ago

I don't know were those symbols are coming from. Maybe we should push the suggestions without special characters first? Because most of the time a symbol represent the name of something or a selector