Neovim plugin for diagnostic debugging
Top 66.3% on sourcepulse
wtf.nvim enhances the Neovim diagnostic experience by providing AI-powered explanations and web search capabilities for LSP-generated messages. It targets developers using Neovim who want to quickly understand and resolve code errors and warnings without leaving their editor. The plugin streamlines debugging by integrating with LLMs like ChatGPT and popular search engines.
How It Works
The plugin leverages Neovim's LSP diagnostics, sending the diagnostic message, code context, file type, and severity to configured endpoints. For AI debugging, it uses the OpenAI API to query models like gpt-3.5-turbo
for explanations and solutions. For web searches, it intelligently filters local environment-specific strings from diagnostic messages to improve search result relevance across platforms like Google, Stack Overflow, and GitHub.
Quick Start & Requirements
MunifTanjim/nui.nvim
.OPENAI_API_KEY
or in configuration).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The plugin's license is not specified, which may impact commercial adoption. Community support channels and a public roadmap are not detailed, potentially indicating a smaller or less formalized community.
3 weeks ago
1 week