Hacker News new | ask | show | jobs
by piersolenski 958 days ago
I made a NeoVim plugin that helps debug diagnostic messages, providing explanations and solutions for how to fix them, custom tailored to your code.

It's a bit different from other plugins which only act on the text in the buffer in that it also sends the diagnostics from the LSP to ChatGPT too.

https://github.com/piersolenski/wtf.nvim

1 comments

That's a really neat plugin! Couple of questions for you:

1. How many times a [day/month] do you use it?

2. In your experience how often does GPT 'hallucinate' an explanation?

Thanks! I use it every day, especially with Typescript where the diagnostic errors and notoriously hard to read. The instructions it sends off the GPT are quite strict and fine tuned at this point, so the responses tend to be good. The solutions are either bang on the money or at least the explanations point me in the right direction. You can pass additional instructions and configure the model as well to further fine tune it.