Export files to HTML
File | Export | Files or Selection to HTML
You can export entire files or selected code fragments to HTML.
In the main menu, go to File | Export | Files or Selection to HTML.
In the dialog that opens, select what you want to export: the current file, the selected piece of code, or all files in the directory that is currently selected in the Project tool window .
Specify the directory to which you want to save the file.
Configure additional options if necessary:
Show line numbers: adds line numbers in the HTML file.
Generate hyperlinks to classes: formats class names as hyperlinks to the respective classes.
Open generated HTML in browser: opens the generated HTML file in the default web browser.
Click Export.