piersolenski / wtf.nvim

Delicious diagnostic debugging in Neovim 🤤
400 stars 9 forks source link

Implementation of Code Action feature. #21

Open vhespanha opened 4 months ago

vhespanha commented 4 months ago

Is it possible and in the project's goal to implement a Code Action feature, where WTF is used as a Code Action to change/fix code based on diagnostics?

piersolenski commented 4 months ago

It is something I've had on an internal roadmap along with a bunch of other updates I hope will prove to be quite exciting, however I've had long COVID this last year and been struggling with pretty intense brain fog 🫠 I do hope to get around to implementing it, as well as the other features, and even some new plugins, in the coming months though! 🤞

vhespanha commented 4 months ago

Hope you get better soon buddy, must be tough to go through this.

Could we work on it together when you feel better? Seems like an exciting feature.

vhespanha commented 4 months ago

Hey, mind if i fork it for now? Then i can open a PR once you feel better to review it, i got this idea for the code actions stuck in my mind.

piersolenski commented 4 months ago

Thanks man - I'm on the road to recovery! Yes, go for it! I have a very rough implementation working locally, not so much as a code action but as a command - I call it WtfYolo as it really only works half the time 😅 If you send me an email through the form on my website we can collab on this and other features 😎