ast-grep
ast-grep finds code by its structure, even when spacing or variable names differ.
ast-grep · Code and testing
GitHub projectOpen source Open on GitHub
Image source · Image credits and license
How to try it
Find calls to the same greeting function in two sample JavaScript files with different formatting.
What we tested
0.51.3. Found where seven event handlers were added and removed in a sample audio project.