eclipse.jdt.ls icon indicating copy to clipboard operation
eclipse.jdt.ls copied to clipboard

Fix type completion when type name conflicts

Open gayanper opened this issue 3 years ago • 4 comments
trafficstars

When type completion are applied where the same simple name already imported in the scope, the second type completion is completed as a fully qualified completion.

gayanper avatar Sep 19 '22 19:09 gayanper

Can one of the admins verify this patch?

eclipse-ls-bot avatar Sep 19 '22 19:09 eclipse-ls-bot

add to whitelist

fbricon avatar Sep 20 '22 13:09 fbricon

Do you mean in the below gif, java.util.List should be completed?

completion

jdneo avatar Sep 21 '22 08:09 jdneo

Do you mean in the below gif, java.util.List should be completed?

Yes in Eclipse when we have a Simple Name conflict, the fully qualified name is used as the completion text.

gayanper avatar Sep 21 '22 09:09 gayanper

You are welcome @jdneo

gayanper avatar Sep 22 '22 04:09 gayanper