Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>dup-detectorNew to Visual Studio Code? Get it now.
dup-detector

dup-detector

crlcrl1

|
2 installs
| (0) | Free
Show duplicated code as diagnostics and jump between clone occurrences.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

dup-detector for VS Code

A VS Code extension that launches the dup-detector language server and shows duplicated code as Warning diagnostics. Go to definition (F12) inside a clone jumps to the other occurrences, and find all references (Shift+F12) lists them.

Requirements

Build the dup-detector binary (repository root):

cargo build --release
# or install it on your PATH:
cargo install --path /path/to/dup-detector

Build and run

npm install
npm run compile

Then either:

  • open this directory (editors/vscode) in VS Code and press F5 to launch an Extension Development Host, or

  • package it and install the .vsix:

    npm run package
    code --install-extension dup-detector-0.1.1.vsix
    

Settings

Setting Default Description
dup-detector.serverPath dup-detector Path to the executable. It is launched with the lsp argument.

If the binary is not on your PATH, set an absolute path:

{
  "dup-detector.serverPath": "/path/to/dup-detector/target/release/dup-detector"
}

Supported languages

Rust, Python, JavaScript, TypeScript, TSX, C and C++.

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