apache / apache/netbeans

Go to File should have more exact matches on top

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

Description

### Apache NetBeans version

Apache NetBeans 30

### What happened

There are 10 matches before `ReaderServiceImpl.java` and it is not even highlighted. That should be the first match.

NetBeans

### Language / Project Type / NetBeans Component

_No response_

### How to reproduce

1. Open Go To File.
2. Type in `ReaderServiceImpl.ja` or even `ReaderServiceImpl.java`

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Windows 11

### JDK

21

### Apache NetBeans packaging

Community provided installer

### Anything else

Much better from a simple editor:
VSCode

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

No

Contributor guide

Open the contributing guide

Research direction

Start with the Go To File entry point and reproduce the ranking with `ReaderServiceImpl.ja` and `ReaderServiceImpl.java` in Apache NetBeans 30 on Windows 11. Trace how exact filename matches are scored or highlighted; done means the exact match is highlighted and appears first.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.