Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/akirak/docco.el

(WIP) A structural editing package for documentation comments and annotations
https://github.com/akirak/docco.el

Last synced: 7 days ago
JSON representation

(WIP) A structural editing package for documentation comments and annotations

Awesome Lists containing this project

README

        

* Docco.el
Docco.el is a framework for editing documentation comments inside source code.
It aims to be generic enough to support various programming languages and is desiged to be extensible.

It relies on the built-in tree-sitter support of Emacs (i.e. ~treesit~) to define structural patterns easily.
For major modes that are not based on ~treesit~ or have only a poorly-defined parser, regular expressions are used to define patterns.
** Supported Languages
- ~rust-ts-mode~ (Rust)
- ~gleam-ts-mode~ (Gleam)
- ~elixir-ts-mode~ (Elixir)
** Usage
- ~docco-edit-module-comment~ for editing a documentation comment of the current module
- ~docco-edit-function-comment~ for editing a documentation comment of the function at point
** See Also
- [[https://github.com/akirak/cosmetic-transient.el][cosmetic-transient]] is a frontend that supports this project.