Content Assist Duplicates in Eclipse (Mylyn)

topic: 

If you have installed Eclipse 3.3 from an official bundle or you have installed the Mylyn plug-in then there's a good chance that you might have started seeing duplicate entries when using content assist.

[img_assist|nid=23|desc=|link=none|width=646|height=192]
Has this happened to you?

Explanation

When the Mylyn plug-in is installed, it registers itself as a provider of content assist data. The first suggestion comes from the default content assist provider in Eclipse and the second one is generated by Mylyn.

Solution

Open the Eclipse preferences screen. Navigate to Java -> Editor -> Content Assist -> Advanced.

[img_assist|nid=27|desc=|link=none|width=424|height=199]

Uncheck the duplicate entries that do not contain "(Mylyn)" in their name. Problem solved.
If you're not making use of Mylyn features, you will receive the same suggestions as from the default suggestion provider.

I highly recommend trying Mylyn if you haven't yet. It can be very productive when working with a large number of resources.

Comments

Thank you! Been annoying me for a while now

Thanks a lot...

I have recently edited some settings in the eclipse preferences, and been experiencing this issue of duplicate entries in the code assistant, thanks for the help.

Thanks. I realize this post is a year-and-a-half old, but it just helped me today.