apache / apache/netbeans

Library Javadoc not performed from source code context menu

Open
#4,044 11 comments 1 reaction 0 assignees View on GitHub
Java JavaDoc kind:bug
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 13

### What happened

After adding a library (via menu Tools->Libraries) and configuring javadoc setting, the Javadoc is properly opened in browser when selected via Project Browser -> Libraries -> Show Javadoc.
But if Javadoc should be shown via context menu "Show Javadoc" in source code, the status message "Cannot perform Show javadoc here" is shown.

Class is proper imported, because building the project and "Navigate -> Go to source" works as expected.

### How to reproduce

_No response_

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

Apache NetBeans 12.3 or earlier

### Operating System

Ubuntu 22.04

### JDK

openjdk version "17.0.2" 2022-01-18

### Apache NetBeans packaging

Apache NetBeans binary zip

### Anything else

_No response_

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

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure from the Java source editor's context menu after configuring Javadoc through Tools -> Libraries. Compare it with Project Browser -> Libraries -> Show Javadoc, and verify that the source context-menu action opens the configured Javadoc instead of showing "Cannot perform Show javadoc here."

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.