KeeganBruer / javadoc-generator

A VSCode wrapper plugin for java's javadoc compiler.
https://marketplace.visualstudio.com/items?itemName=KeeganBruer.javadoc-generator
5 stars 2 forks source link

Issues with Javadoc generator #25

Closed kalvinliang965 closed 8 months ago

kalvinliang965 commented 1 year ago

When I was using the javadoc generator, it said no JAVA_HOME was found in the path, but it didn't prompt me for a JDK install directory, and I do have one. Then, it said javadoc was generated successfully but there are these error:

At line:1 char:107

Wii-Tu-Hi commented 1 year ago

I also have this same error code and issues with JAVA_HOME, hoping for a fix as Java Documentation was introduced in my class this week and I expect more in the future. 1

gcgcgcgc commented 9 months ago

Remove the double quotes around the executable and it will work.

KeeganBruer commented 9 months ago

I believe the issue in this case is that the path uses both a forward slash and a backward slash. I've just published version 3, which should resolve this issue by not using string concatenation for path resolution. If you upgrade, the config file adds a good amount of transparency to the underlying javadoc command that's being run.

KeeganBruer commented 8 months ago

With the release of Version 3, this should no longer be an issue. So I am going to close this. If you continue to have issues, please update to the latest extension version and then submit a new issue with the "config.jdgenerator" included.