google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 603 forks source link

Is it possible to get documentation in Android Studio ? #348

Open jillemash opened 5 years ago

jillemash commented 5 years ago

Hi,

I couldn't find any answers elsewhere so I'm asking here; sorry for the noise. Is it possible to configure Android Studio so that I get the javadocs of the API inside the editor instead of having to check the API reference online ? Is there a zip file with javadocs we could set as a source for the documentation, or something else ?

Thanks

claywilkinson commented 5 years ago

That's a great idea - We'll look into it.

ManuelTS commented 5 years ago

Such a zip should be there since the first release of ARCore and Sceneform... . So, are you Sceneform guys not using Android Studio? What else do you use instead?

jillemash commented 5 years ago

I'm using Android Studio, and the Solar System code sample. When I tried to click to a lib definition (e.g. the override icon for RotatingNode.onUpdate(), it opens Nodes as a decompiled class file. If I click "Download the source", Android Studio crashes with an NPE. It might not be related, and I clicked the button to report that bug...

But I didn't do anything more than opening the project. So is this expected, or should I perform some extra configuration steps to attach this zip somehow? (And what zip?)

Thanks

The NPE: null java.util.NoSuchElementException at java.util.Collections$EmptyIterator.next(Collections.java:4189) at org.jetbrains.plugins.gradle.util.GradleAttachSourcesProvider.getSourceFile(GradleAttachSourcesProvider.java:160) at org.jetbrains.plugins.gradle.util.GradleAttachSourcesProvider.access$100(GradleAttachSourcesProvider.java:59) at org.jetbrains.plugins.gradle.util.GradleAttachSourcesProvider$1$1.onSuccess(GradleAttachSourcesProvider.java:126) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$7.execute(ExternalSystemUtil.java:907) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$9.run(ExternalSystemUtil.java:936) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:750) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144) at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:395) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

ManuelTS commented 5 years ago

Well? We are still waiting for the javadoc documentation of Sceneform in Android Studio, even six months later, or did I miss something?

Edit: To speed things up I created another issue #733 on the ARCore repo, let's see which developing team has faster the .zip file ready for download

maximrahlis commented 5 years ago

Is there a javadoc available for download yet? It is very inconvenient to work without javadoc in the IDE...

ManuelTS commented 5 years ago

Look at the creation date of this issue and the date today. The development team does not care about the usability of their framework. But on each site of Google usability is considered as highly important. The do not practice what they are preaching, as always...