Documentation Viewer

The VS Code Ballerina extension is shipped with a Documentation Viewer. You can add documentation for the functions and other public entities in your module for the reference of other users of it.

Launching the Documentation Viewer

The Documentation Viewer represents the documented entities in a file in an organized manner. Follow the steps below to launch the Documentation Viewer.

  1. Click View in the top menu and click Command Palette.
  2. In the search box, type “Show” and click Ballerina: Show Documentation Preview.

Documentation Viewer

What’s Next?