apache / apache/netbeans

[VSCode extension] In suggestions, prefer types where uppercase letters match

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

Description

### Description

When I type `FL`, NetBeans autocompletes something as below. However, I'd like types where the uppercase letters match, such as `FlavorListener`, `FlowLayout`, `FocusListener`, ... to be listed at the start.

![image](https://user-images.githubusercontent.com/15714253/208903522-2be7aaa4-354b-41b7-a9aa-e70202490de8.png)

### Use case/motivation

Many types are well-known by their uppercase-abbreviated form. For example common exceptions such as UOE, ISE, IAE, NPE, IOOBE, ... or `java.io` types such as `FIS`, `BOS`, ...
Not having these listed first in the suggestions is cumbersome.

### Related issues

_No response_

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

Yes

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by locating the VSCode extension's code that ranks or filters type-completion suggestions; the issue names no files or tests. Reproduce the `FL` completion case and verify that types whose uppercase letters match the typed abbreviation, including `FlavorListener` and `FlowLayout`, appear before other results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.