apache / apache/netbeans

Completion Argument Skipping

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

Description

### Description

I am a frequent Netbeans user. One of the things I would like to see improved is when I hit code complete for a method and I have text in there that are valid arguments for the method that it would not put some default arguments followed by ) and just use what I have.

The other improvement would be that if the method doesn't have any arguments then when I type ( it would just add the following ) and put the cursor after the ) and not inside ().

I appreciate everyone's hard work.

-Tim

### Use case/motivation

It would make code completion a little better

### Related issues

None I'm aware of.

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow the Apache Software Foundation's [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html)

Contributor guide

Open the contributing guide

Research direction

The issue does not name a file, test, or entry point. Start by locating NetBeans code-completion handling for method arguments and inspect how completion inserts default arguments and closing parentheses; done means existing valid argument text is preserved and empty calls place the cursor after the inserted closing parenthesis.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.