Javadoc Generator is an extension to VSCode that wraps the commandline javadoc compiler. I wrote this in highschool and was originally created to fill my own needs for quickly creating a javadoc. But after over 25k downloads, I decided to rebuild this extension with better error reporting and transparent configuration.
You will first need a JDG Config file. You can get one by clicking on your project folder and clicking "JDG: Initialize Config file".
Adjust the config file until a valid command is generated with no errors.
You can exclude folders in the specified base_path by adding to the exclude array. This array matches strings directly, using the string prototype's includes() method.
Once a valid javadoc command is created, click the button in the top right corner labled "JDG: Generate Javadoc".
Once the Javadoc generation is complete, you should see the output appended to the config file.
Config | Type | Description |
---|---|---|
base_path | String | Directory that will be searched for .java files |
out | String | Directory to store the resulting javadoc |
javadoc_executable | String | The location of the javadoc executable on your system (default based on JAVA_HOME env var) |
exclude | String[] | An array of strings that each file is tested against using the .include() string method. |
raw_params | Adds the string directly to the generated javadoc command. |
If you find issues, and you probably will, you can report them here. Please include the config.jdgenerator file with your issue report.