javadoc completion doesn't work in "package-info.java"
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 24 release candidate
### What happened
(24-rc3)
Code completion for javadoc doesn't work in `package-info.java` file.
### Language / Project Type / NetBeans Component
java code completion
### How to reproduce
1. New project -> java with maven, Java Application -> finish
2. Over the package folder, new -> Java Package Info
3. In the "package-info.java" above the package decl add a comment, like:
/**
* {@
*/
package com.raelity.play.mavenproject2;
4. With the cursor after the "{@", invoke code completion.
Observe: "No suggestions"
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
ubuntu
### JDK
openjdk 23.0.1 2024-10-15
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
Every time
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Reproduce the issue in a Maven Java Application by creating a package-info.java file and invoking completion after '{@' in its Javadoc comment. Trace the Java code-completion handling for package-info.java and compare it with ordinary Java source files. Done means Javadoc completion suggestions appear in package-info.java.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100