Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I build "brushes" for refactoring my code every day.

Anyone know what the author means by brushes?

Also any recommendations for non-Copilot IDE LLM integrations? I've tried a couple but they felt far behind Copilot in terms of quality and smooth IDE integration.



https://githubnext.com/projects/code-brushes/

You select some code and apply a brush and it'll use a preset prompt to modify it: "Make Readable", "Add Types", "Document" are some of the options. Copilot has a pretty poor implementation, and mostly they just butcher your code - but they seem very powerful, especially with custom brushes.


Things like "replace this PHP5 class with a new PHP8 readonly dataclass", "Convert this react components to have imageLinks as prop srcsets". Nothing fantastic, but damn this stuff is tedious to do manually. Now I can just batch process my files et voila.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: