redhat-developer / redhat-developer/vscode-java

Discussion: completion experience for "import java.util.*"

Open
#2,439 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

content-assist enhancement
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

I've seen user complaints about missing import java.util.* candidate. But actually we do have this feature implemtend.

Current behavior is, when you directly select a package, it auto appends .* behind.
image
select this item java.util, it in fact completes java.util.*:
image

I'm thinking whether current behavior is ambiguious/inconsistent or not. Maybe we should explictly add an item java.util.*, and those items without .* won't append .* automatically? Just some thoughts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the current completion behavior for selecting the java.util package and the two screenshots in the issue. The issue names no files or tests; work is not well-defined until the project decides whether to retain automatic .* insertion or add an explicit java.util.* candidate.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.