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

javadoc Generator

Version Installs

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.

Usage

You will first need a JDG Config file. You can get one by clicking on your project folder and clicking "JDG: Initialize Config file".

InitalizeConfig

Adjust the config file until a valid command is generated with no errors.

InitalizeConfig

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.

InitalizeConfig

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.

All Configuration Options

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.

Issues

If you find issues, and you probably will, you can report them here. Please include the config.jdgenerator file with your issue report.

Release Notes

3.0.5 - 3.0.6

3.0.2 - 3.0.4

3.0.0