https://github.com/getgrit/gritql is the best large-scale codemod / refactoring tool I've ever used.
It's finicky and picky, very dependent on the tree sitter grammar but when it works, it's magical.
It's finicky and picky, very dependent on the tree sitter grammar but when it works, it's magical.