Live duplicate-code analysis

Find duplicate code across nine languages.

Deslop finds duplicate functions and repeated source code in C#, Rust, Python, Dart, JavaScript, TypeScript/TSX, PHP, F#, and Go. It ranks what to remove first and tells your coding agent when similar code already exists.

One extension bundles live editor warnings, MCP checks for agents, and the CLI.

A real Deslop report finding repeated C# code, with the duplicate group and example source shown.
Real Deslop output from a C# fixture: the duplicate group, matched source, and other location.
In your editor

See what to remove first.

Duplicate-code clusters are ranked by impact and anchored to one copy for comparison. Your editor and coding agent read the same live analysis.

The Deslop VS Code extension ranking duplicate-code clusters in a real workspace, showing a live warning and a side-by-side canonical comparison.
  1. Left · sidebar Worst offenders first

    The highest-impact duplicate-code clusters stay at the top.

  2. Centre · editor Live duplicate warning

    Compare the match, open its cluster, or copy the context for AI.

  3. Right · diff Canonical comparison

    Review both copies side by side before you refactor.

Install

Get Deslop in your editor.

Install the same extension from Visual Studio Marketplace or Open VSX.

  • Visual Studio Marketplace VS Code · GitHub Codespaces

    The full bundle — live bubble, LSP server, MCP server, and the deslop CLI — for VS Code and GitHub Codespaces.

  • Open VSX Registry Cursor · Windsurf · VSCodium

    The same extension for Cursor, Windsurf, VSCodium, Gitpod, and every Open VSX editor.

Community

Built in the open.

Questions, bugs, and feature requests are welcome on Discord.

Join the Discord