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.
请先登录再写评论。
Did you configure Maven in IntelliJ IDEA to download javadoc and sources? See https://stackoverflow.com/questions/31072667/how-to-force-intellij-to-download-javadocs-with-maven .
Do you see the source/javadoc files downloaded in the local .m2 and added to the library used in your project?
Yes! The stack overflow link pointed me in the right direction. Now it works as expected. MANY thanks
what if am not using maven please?
Download documentation zip from https://gluonhq.com/products/javafx/, unpack it, attach a directory with the documentation to the JavaFX library in IntelliJ IDEA.
okay. hope am not disturbing but how do i attach it, I have to put it where javafx sdk is or what>??
You configure a library for JavaFX, click + and add path, when asked select JavaDocs from the list of options, it should look like this:
Then you make sure the library is added to the module dependencies: https://www.jetbrains.com/help/idea/working-with-module-dependencies.html#add-a-new-dependency .
Anyway, using Maven or Gradle would be much easier.
I have added, but not showing when i click on the mouse.
Am a student so am new in some way in javaFX.
I have done the JavaFx course in the last one month, Maybe i will dive in Maven when am more inro it.
see below
The docs i have added dont pop up. is there anything i have not yet done??
i have done the two steps as advised.
Hello,
Seesm your path to doc is wrong. Why did you add "openjfx-15-ea..."?
that the name of the javafx docs folder
Could you please show content of that folder? Am I got you right that you downloaded archive with docs from https://gluonhq.com/products/javafx/ and unpacked it into "/JavaWork/javafx-sdk-11.0.2/openjfx-15-ea+7-javadoc" folder?
yeah
let me show you
I added the javadoc 11.
and followed the steps above.
this is the folder inside it
i have added them in the way you see them here... but still not working
Hope i was expecting something different, the documentation will appear fully as for java when i place the mouse on top of javaFX variables and classes???
like this for java String class? or
should i expect something else different>??
i want the documentation details to hover details nmore than this... is it possible
You don't need to create separate library with docs. Please open your existing "JavaFX" library and add there correct path to documentation "/JavaWork/javadoc/javafx-sdk-11.0.2-javadoc/"
like this,... next step..?
So, now documentation for JavaFX methods should be taken from provided path. Isn't it shown?
no, it is showing the javafx.... huh this is hard for me to fix.... can you have teamviewer>>?
you fix it yourself please>?
Id
***********
password
**********
Let me check something on my side.
okay. The connection is still on... you can check it when you are done
I could'n reconnect.
Thank you very much. Am humbled. Actually, it took me the whole day to do that... God bless you
You are welcome! Feel free to contact us if you need any assistance!