Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Marketplace from Eclipse

Tags:

eclipse

I'm running Eclipse Neon on a virtual machine without Internet connection.

I frequently get the annoying prompt "Search Marketplace for compatible editor has encountered a problem", how can I disable the lookup for editors or just entirely the Marketplace?

like image 257
lornova Avatar asked Sep 26 '16 08:09

lornova


People also ask

What is Eclipse Marketplace Client?

Marketplace Client is a rich client solution for installing solutions listed on Eclipse Marketplace directly from an Eclipse Installation. The Eclipse community has hundreds, if not thousands, of third-party plugins that users can add to their Eclipse installation.

Why is marketplace in Eclipse not working?

In recent versions of MyEclipse, the Eclipse Marketplace may not be accessible. Once done, restart the IDE to apply the changes. You should now see the Eclipse Marketplace entry in the Help > Install from Catalog dialog. This is caused due to the fact that the Eclipse Marketplace API now requires HTTPS.

How do I update my marketplace in Eclipse?

Inside Eclipse select Help -> Install New Software... Step 2. Add a new site using the update site url to the Eclipse Update Manager.


1 Answers

Eclipse is noticing that you are opening a file type that it doesn't have an associated editor. When it goes to find an editor in the market place, the server is returning something that eclipse doesn't understand. There appears to be a related bug [2] and a patch is coming. For now, you have a couple of options.

Option 1: Tell eclipse to stop looking at the marketplace when opening a file that does not have an associated file.

From the menu bar,

  1. Select: window
  2. Select: preferences

In the preferences dialog box,

  1. Search for: File Associations
  2. Scroll all the way down to the end. It's easy to miss. You need to scroll past "File types" and "Associated Editors." You will see "Open Unassociated Editors with:" followed by a drop down.
  3. From the drop down, select anything other than "Search Marketplace" and the error will go away.
    • For the default behavior in Neon, select "Ask via pop-up."
    • For the behavior that is closest to what happened before neon, select "System Editor; if none: Text Editor."
    • You can also choose "Text Editor"

Option 2: Associate the file type with an application.

From the menu bar,

  1. Select: window
  2. Select: preferences

In the preferences dialog box,

  1. Search for: File Associations
  2. Add or select the file association from the first box called "File types"
  3. Add or select an editor to associate with it from the second box called "Associated Editors"

[1] This answer is inspired by "5. File Editors" in the below link https://www.eclipse.org/community/eclipse_newsletter/2016/june/article1.php

[2] Note that the error message may be related to this bug as well. This bug says that the exception is being thrown because of a server side error. https://bugs.eclipse.org/bugs/show_bug.cgi?id=494899

like image 110
Mike Avatar answered Oct 16 '22 07:10

Mike