Kurokawa-kun commented on issue #8889:
URL: https://github.com/apache/netbeans/issues/8889#issuecomment-5684413023

   I am using NetBeans 31, OpenJDK 26.0.2.1, and Windows 10. I am experiencing 
the same issue.
   
   This bug occurs regardless of what language the Javadoc is in, or where the 
Javadoc is located (on local PC or web page).
   I think the cause of this bug lies in how Javadoc is searched when 
displaying the code completion box.
   
   It probably works in the following steps:
   1. Netbeans begins to read specified source files [^A] listed in the 
[Sources] tab [^B] to find target class definition. When it finds the necessary 
file, it shows the Javadoc comment in the source file on the code completion 
box.
   2. If NetBeans couldn't find any suitable file, it begins searching for 
items in [Javadoc] tab [^B].
   
   [^A]: In case of the Windows JDK, this should be src.zip
   [^B]: These items are defined in the following file:
   (user 
dir)/AppData/Roaming/NetBeans/(version)/config/Services/Platforms/org-netbeans-api-java-Platform/(JDK
 name).xml
   
   Under normal use, the Windows JDK has src.zip in lib directory. So NetBeans 
can find corresponding source file in Step 1. So it doesn't proceed to Step 2. 
As a result, NetBeans doesn't search items in [Javadoc] tab even if it contains 
items. 
   
   This is why the code completion box doesn't show manually specified Javadoc.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to