Reply to comment

Content Assist Duplicates in Eclipse (Mylyn)

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.

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.

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.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <java>, <powershell>, <tsql>, <visualfoxpro>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.