Comment

Comment by crucialfelix

I have in my codebase several really long django views files (3k lines!). They were written in a poor fashion with many nested if statements for parsing and error handling.

On a one by one basis I can use VSCode github copilot to rewrite each one the way I want it.

What I want to do is iterate through all functions in the files and do each one of them.

I know we are getting there, but does anybody know how that can be done right now?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton