apache / apache/netbeans

searching for methods to implement or override does not find those in closed folders (classes)

Open
#7,939 2 comments 0 reactions 0 assignees View on GitHub
Java kind:feature needs:triage UI
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Here is my example for overwriting *setEnabled* from a simple JButton.

![image](https://github.com/user-attachments/assets/057d5873-c9e6-41a9-ab80-2bf7f38a943f)

If I start searching by typing *setEnabled* the method is not found like in the sample screenshot, this works only if at first I open the class - folder where this method is defined. That's quite annoying since most of the time I do not know in which superclass this method is.

### Use case/motivation

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the method search with JButton.setEnabled while the defining superclass folder is closed. Trace the method-search behavior to determine why closed class folders are skipped; done means searching for setEnabled finds the method without first opening its defining class.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.