Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Search Similar Codes
Search Similar Codes

Search Similar Codes

glory code

|
2 installs
| (0) | Free Trial
Find similar code blocks in a solution or search for similar code using the editor selection.
Download

Search Similar Codes finds repeated code blocks in Visual Studio. Use it before a refactor to see where similar logic appears and how those implementations differ.

Find and compare code

  • Open Tools -> Find Duplicate Code to look for repeated blocks in your solution.
  • Select a code block in the editor, right-click, and choose Find Similar Code to look for other versions of that block.
  • Open a result to compare both blocks side by side. Adjust the line and block similarity thresholds to narrow or broaden your search.

Search Similar Codes demo in Visual Studio

Trial and licensing

The trial shows up to three matches per search. An activation key removes that limit on one computer.

Buy an activation key on lava.top

Requirements

Visual Studio 2022 (17.14 or later) or Visual Studio 2026 on Windows x64. Community, Professional, and Enterprise editions are supported.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft