eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

How can I hide the Object and Enum methods from code completion?

Open
#1,054 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
23h 30m
Merged PRs (30d)
35

Description

Hello everyone,

I am using Eclipse 23-12 (4.30.0) version and it seems that I can't hide anymore the Object and Enum default methods from code completion.

Up to now, I got it working by using the Type Filters preferences, adding the java.lang.Object and java.lang.Enum* filter names. It was working brilliantly, only showing the new methods I was adding in each class and enum.

But with the last couple updates this doesn't seem to work. I have included photos to have a visualization aspect as well.

Can you enlighten me?

Thank you

![q](https://github.com/eclipse-jdt/eclipse.jdt.ui/assets/11249537/f64c1b7f-c8fb-48e3-b337-7e85bfd72f20)
![qq](https://github.com/eclipse-jdt/eclipse.jdt.ui/assets/11249537/974bdc5a-5dd0-460a-b84f-d8bebd4cc4a4)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the code-completion behavior in Eclipse 23-12 (4.30.0) with java.lang.Object and java.lang.Enum* configured in Type Filters. Compare completion results with earlier Eclipse updates and determine whether the filters are being ignored; done means Object and Enum methods can again be hidden while class-specific methods remain visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.