Show HN: Treepeat – Code similarity detection using Tree-sitter

Code similarity detection using treesitter. Contribute to dsummersl/treepeat development by creating an account on GitHub.
73 points by 91awebsi 29 days ago github.com 8 comments

Summary

Treepeat helps developers identify similar code blocks in their projects, focusing on meaningful structures like classes and functions rather than just line-by-line comparisons. It also accommodates near-duplicates by ignoring whitespace and other superficial differences, making it a useful tool for maintaining clean code.

Comments (8 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open