Hacker News new | ask | show | jobs
by jeremydeanlakey 1811 days ago
I like the refactor bot idea.

I'd be a little nervous to lean on Copilot to refactor, but I'd love a bot that just implements the changes that IntelliJ can already recommend to me.

A bot that did other logically straightforward refactors (like extracting mapper methods from big functions) would also be nice.

2 comments

You'll want to keep an eye on Qodana[0] which when combined with ReviewDog[1] (and some glue script since Qodana has its own snowflake output JSON that RD doesn't read natively; engineering!) can offer suggested changes on MR/PR platforms which support such a thing [2]

I have the first two working together but not the last part yet, and Qodana is for sure a moving target but is what I've been praying for them to do for years now

0: https://github.com/JetBrains/Qodana/blob/2021.2/topics/getti...

1: https://github.com/reviewdog/reviewdog

2: https://docs.gitlab.com/ee/user/project/merge_requests/revie...

Yeah the Copilot reference came out of nowhere. Given how important Copilot is to Github and how it's been getting trashed pretty hard, this article reads like some lowkey astroturfing for Copilot.