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.

0

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?

0

Yes! The stack overflow link pointed me in the right direction. Now it works as expected. MANY thanks

0

what if am not using maven please?

0

Download documentation zip from https://gluonhq.com/products/javafx/, unpack it, attach a directory with the documentation to the JavaFX library in IntelliJ IDEA.

1

okay. hope am not disturbing but how do i attach it, I have to put it where javafx sdk is or what>??

0

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.

0

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??

0

i have done the two steps as advised.

0

Hello,

Seesm your path to doc is wrong. Why did you add "openjfx-15-ea..."?

0

that the name of the javafx docs folder

 

0

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?

1

yeah

let me show you

I added the javadoc 11.

and followed the steps above.

 

0

this is the folder inside it

0

i have added them in the way you see them here... but still not working

 

0

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>??

 

 

0

i want the documentation details to hover details nmore than this... is it possible

0

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/"

0

like this,... next step..?

0

So, now documentation for JavaFX methods should be taken from provided path. Isn't it shown?

0

no, it is showing the javafx.... huh this is hard for me to fix.... can you have teamviewer>>?

 

0

you fix it yourself please>?

0

Id

***********

 

password

 

**********

0

Let me check something on my side.

0

okay. The connection is still on... you can check it when you are done

 

0

Thank you very much. Am humbled. Actually, it took me the whole day to do that... God bless you

0

You are welcome! Feel free to contact us if you need any assistance!

0

请先登录再写评论。