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

Would be very cool to be able to highlight sections or even an entire file and then have a right-click option to "Refactor Code" which, rather than being additive, would clean up and condense the code according to the idioms of the language.


  cd /source/commercialOS/
  lintbug -fix **/*.code
  refactor **/*.code
  echo -e "\a"


You can do this with github copilot. It works exactly like you describe.


cody.dev can do that and it's pretty good. Running it on some late night coding sessions and I like the output around 90% of the time




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

Search: