javafx javadocs
已回答
Hi. I'm new to IDEA, and I'm having trouble linking Open JavaFX javadocs to the IDE. For Java SE APIs I can see full javadoc documentation in the popup, but for JavaFX, all I see is the signature, no javadoc body. I have downloaded the javadocs, but I don't see how to attach them so that they show up in the javadoc popup. I'm also using Maven, which might complicate things, but I haven't found JavaFX artifacts to point to either.
Any ideas? Thanks.
请先登录再写评论。
The only funny thing is that i have to reload this page every-time i want to view your comments... check out that... maybe a chatBot would do better. Have a nice evening sir.
Hi all,
let me open this old topic again.
When using JavaFX above 14 i don't get the JavaDoc running. I only get the JavaDoc hints for the classes (for example when i enter Button i get the JavaDoc for Button). But when using the object i don't get the JavaDoc for most methods. Funny thing, for some methods it is shown (Button btn, for method btn.fire() it shows the JavaDOC, for method btn.isCancelButton() only an empty frame is shown).
Same issue, no matter if using Maven as build tool downloading the JavaDoc in the Maven Frame or creating a single Java Project by myself, defining JavaFX as Global Library and linking to the downloaded JavaDoc.
I am using the latest Ultimate Edition 2021.2, deleted all setting files and folders, reinstalled it, installed the community edition on another Laptop. Each time the same issue.
So because of trying 2 different editions on 2 different Laptops im am sure it has nothing to do with any (broken) settings on my side.
My OS is PopOS based on Ubuntu.
Was there any change in handling JavaFX JavaDoc starting with version 14 ?
Many thanks for your reply !
Hello Timo,
Can you please share the code fragment or the sample project (can be uploaded to https://uploads.services.jetbrains.com/) where the issue is reproduced. Thank you
Hi !
It happened with the template created when starting a new JavaFX Project
New Project -> JavaFX
Language: Java
Builld System: Maven
Test Framework JUnit
Project SDK: 16 (openJDK)
No Dependencies activated
When you create an Object javafx.scene.control.button, no JavaDoc is shown for his methods. But Intelli knows where it is, because instead of showing the JavaDocs it provides a Link to the JavaDoc on my computer and when i click it my browser opens and showing the JavaDoc for this method. See Screenshot i had uploaded.
Hello,
Can you please share the link to the screenshot or the name of the file. Thanks
Upload id: 2021_08_09_Tzq9xwmchtjqSQGb (file: Screenshot_Missing_Javadoc.png)
Timo,
Can you please clarify what JavaDoc sources do you have defined for "Maven: org.openjfx:javafx-controls:linux:16" (please share the screenshot of it in Project Structure | Libraries)?
Thanks
Hi Olga,
Upload id: 2021_08_10_WRXi9o9P4Jn3k63L (files: Folder.png, Project Structure.png)
By the way, how could i add the images i uploaded in your upload service cloud that they will be shown here in the board ? Just for other people facing same problem, so that they know what we are talking about ?
Many thanks + BRGDS
Timo,
Actually you can insert the images right here in the blog by pasting it:)
Please follow the issue I've created for your case: https://youtrack.jetbrains.com/issue/IDEA-275752
Thank you
Hi Olga,
many thanks. So you could reproduce the problem ?
BRGDS
Hi Timo,
Yes, the issue is reproduced on my side. Thank you for the details.