doc-mode (0.2)

What's this for?

doc-mode allows easy creation and editing of JavaDoc or Doxygen comment blocks in your code. It also greatly improves readability of code by folding the blocks, so they don't take up precious screen lines.

screenshot of an inserted comment template screenshot of folded comments

Screencast

Watch a preview demo.

Configuration

doc-mode requires Semantic to be installed and running.

Add the following to your .emacs:

(add-to-list 'load-path "/path/to/doc-mode")
(require 'doc-mode)
(add-hook 'c-mode-common-hook 'doc-mode)

Usage

The command doc-mode-fix-tag-doc or C-cd adds or replaces the documentation for the function, variable, or class at point. doc-mode-remove-tag-doc or C-cr removes it.

You can fold the comments by using doc-mode-toggle-tag-doc-folding or doc-mode-fold-all.

Download

doc-mode.el
doc-mode 0.2

Feedback

If you have any feedback, please email me, or visit this package's page at the Emacs wiki.