Remove maven suggestion from Eclipse quickfix menu

45 Views Asked by At

How can I remove the M2 suggestion from the quickfix menu? I constantly add maven dependencies to my pom.xml by mistake when I want to use the CTRL+1 feature.

I tried to reduce the Content Assist options for the Java Editor but I was unable to remove it.

I'm using Eclipse Version: 2023-09 (4.29.0)

enter image description here

1

There are 1 best solutions below

0
howlger On

In the preferences Maven > User Interface disable the option Suggest adding Workspace Projects as dependencies on missing types for that.

For details about this option and its implementation see Eclipse m2e pull request #1409 Add a preference to configure the relevance and search for workspace.