apache / apache/netbeans

Missing code completion and Javadocs in maven projects with classifier

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

Description

### Apache NetBeans version

Apache NetBeans 17

### What happened

Related bugs:
- https://issues.apache.org/jira/browse/NETBEANS-2197
- https://issues.apache.org/jira/browse/NETBEANS-3296

Parameter names are not correctly shown:
![screenshot](https://user-images.githubusercontent.com/992620/231156490-65f5d08e-9763-40eb-8171-68b3352eadbc.png)

Should be `public Label(String text)`.

### How to reproduce

see project file: [javadoc_bug.zip](https://github.com/apache/netbeans/files/11200219/javadoc_bug.zip)

Open `App.java` and press [Ctrl] + [Space] on line 20, column 31 (after `new Label(`)

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

No / Don't know

### Operating System

Ubuntu 22.10

### JDK

OpenJDK 20

### Apache NetBeans packaging

Apache NetBeans binary zip

### Anything else

_No response_

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

No

Contributor guide

Open the contributing guide

Research direction

Start with the supplied javadoc_bug.zip project, open App.java, and reproduce the issue with Ctrl+Space at line 20, column 31. Compare the completion and Javadoc output for the Maven project with classifier against the expected `public Label(String text)` parameter display; done means code completion and parameter names are shown correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.