Doscibe.nvim is a Neovim plugin that simplifies the process of generating inline documentation for your functions. Leveraging Language Models, it provides intelligent and contextual documentation with minimal effort, ensuring that documentation is both accurate and easy to integrate into your workflow.
docscribe.nvim is a Neovim plugin designed to streamline the generation of inline documentation for functions by leveraging Language Models (LLMs). This tool enables developers to produce high-quality, contextually aware documentation effortlessly.
| Language | Support Level |
|---|---|
| JavaScript | Full |
| TypeScript | Full |
| C | Full |
| Java | Limited |
| C++ | Limited |
| Python | Limited |
| Provider | Status |
|---|---|
| Ollama | Supported |
| OpenAI | Planned |
| Anthropic | Planned |
| Local Heuristics | Planned |
To use docscribe.nvim, place the cursor inside or on a function and execute the command:
:DocscribeGenerate
The plugin will then detect the function, remove any existing documentation, and generate a new, appropriately formatted docstring.
Customize the plugin behavior with various configuration options, including LLM settings and custom prompt templates for documentation formatting. Templates must include placeholders for function code, ensuring they are replaced correctly during generation.
Exciting features are planned for subsequent releases, including support for additional programming languages, integration with more LLM providers (such as OpenAI and Anthropic), customizable documentation styles, and batch documentation generation capabilities.
docscribe.nvim simplifies the documentation process in Neovim, making it easier to create clear and effective function documentation with the power of LLMs.
No comments yet.
Sign in to be the first to comment.