A Neovim plugin that automatically generates code annotations for multiple languages and documentation conventions.
Neogen is a Neovim plugin that automatically generates code annotations and documentation comments for functions, classes, types, and files. It solves the problem of manually writing repetitive documentation by analyzing code structure with Tree-sitter and inserting appropriate annotation templates based on the language and chosen convention.
Neovim users who write code in multiple programming languages and want to maintain consistent, high-quality documentation with minimal effort. Particularly valuable for teams enforcing specific documentation standards.
Developers choose Neogen for its extensive language support, flexibility with annotation conventions, and seamless Neovim integration that saves time while improving code documentation quality.
A better annotation generator. Supports multiple languages and annotation conventions.
Covers over 15 languages including Python, JavaScript, Java, and Rust, with specific annotation types for each, as detailed in the Supported Languages table, making it versatile for multi-language projects.
Supports popular documentation styles like JSDoc, Doxygen, and Google Docstrings, allowing teams to customize templates to fit their coding standards, as shown in the Configuration section.
Automatically jumps the cursor into inserted annotations for immediate editing, with optional snippet engine integration for seamless placeholder cycling, enhancing workflow efficiency.
Uses Tree-sitter parsers for accurate code structure analysis, ensuring reliable annotation placement, which is a core requirement highlighted in the README.
Requires Tree-sitter parsers to be installed separately, which can be a barrier in environments with limited system access or for users new to Neovim's Tree-sitter ecosystem.
Limited to Neovim users, making it unsuitable for developers on other editors, despite its robustness within the Neovim community.
Setting up custom templates or adding new languages involves Lua coding and understanding Neogen's internal structure, which may deter casual users or those seeking plug-and-play solutions.
:brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
✅ Highlight, list and search todo comments in your projects
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.