Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Doxline — Doxygen & Javadoc CommentsNew to Visual Studio Code? Get it now.
Doxline — Doxygen & Javadoc Comments

Doxline — Doxygen & Javadoc Comments

branchline.

| (0) | Free
| Sponsor
Generate Doxygen comments for C and C++ (and Javadoc for Java): type /** above a function, class or macro to get @brief, @tparam, @param, @return and @throws. A maintained alternative to Doxygen Documentation Generator.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Doxline — Doxygen & Javadoc Comments

Type /** above a declaration and get a complete doc comment. Doxline reads C and C++ (and Java) declarations — templates, parameters, return types, constructors, operators, macros — and writes a Doxygen block with tab stops for every description.

A fast, actively maintained alternative to Doxygen Documentation Generator. Works offline; no AI or API keys needed.

Doxline

How to use

  • Type /** on the line above a function, class, struct, enum or #define → pick Generate Doxygen Comment.
  • Or put the cursor on the declaration and press Ctrl+Alt+D / ⌘⌥D, or right-click → Generate Doc Comment.
  • Press Tab to jump between descriptions.

What it understands

  • Functions and methods, including multi-line signatures and trailing return types (auto f() -> T)
  • template <…> parameters → @tparam (defaults and packs handled)
  • Pointers, references, arrays, default values, function-pointer parameters, unnamed and variadic parameters
  • Constructors/destructors (no @return), void returns (no @return), operators, qualified names (ns::Class::method)
  • Classes, structs, unions, enums (enum class) and function-like macros (#define CLAMP(x, lo, hi))
  • Java: modifiers, annotations, generic methods (<T extends …> → @tparam), throws clauses → @throws

Doxline Pro

Part of the one-time Branchline Pro license (no subscription):

  • Document an entire file at once — right-click → Generate Doc Comments for Entire File adds comments to every undocumented declaration at namespace/class scope.
  • Pro features in all Branchline extensions: Branchline, TODO Lens, Snapline, Docline.

Run Doxline: Get Doxline Pro, then Doxline: Enter Pro License Key.

Settings

Setting Default Description
doxline.commandPrefix @ @param or \param style
doxline.includeBrief true Start with @brief
doxline.placeholder Description Placeholder text

Also by the author

  • Docline — Instant Python Docstrings — the same idea for Python.
  • Branchline — Git Graph · TODO Lens · Snapline

Support

Free and maintained by one developer. If it saves you time, you can chip in from $1.

License

Source-available under the Doxline License: free to use, read and learn from; redistribution and derivative publications are not permitted.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft