Enhance VS Code with a language aware diff

Don’t let refactored or reformatted code slow down your code reviews. SemanticDiff hides irrelevant changes, detects moved code and refactorings in Python, Rust, Java, C#, TypeScript and more.

The extension is available from the VS Marketplace and via Open VSX.

SemanticDiff detects how code was moved

Supports 12+ programming languages and data exchange formats:

Works Offline

The diff computation is performed on your machine. Your code stays safe.

Theming Support

SemanticDiff uses the colors of your VS Code theme for a seamless integration.

One Click Toggle

Switch between the standard VS Code diff and SemanticDiff with a single click.

Focus On Important Changes
Style changes are hidden in SemanticDiff
Focus On Important Changes

SemanticDiff uses a language aware diff to filter out irrelevant changes from your VS Code diffs. Review changes without the noise of added/removed line breaks, optional commas, unnecessary parentheses and more.

  • Hides irrelevant changes
  • Option to hide changes in code comments
Review Your Changes With Ease
SemanticDiff detects refactorings
Review Your Changes With Ease

Reviewing diffs with complex refactorings can be challenging. SemanticDiff helps by detecting moved code blocks and other typical refactorings. Save time by directly noticing that all changes belong to a rename of the same variable and that the moved code contains no other changes.

  • Refactoring detection
  • Moved code detection

Learn more about the semantic features.

Works With Any Diff
SemanticDiff works with any VS Code diff
Works With Any Diff

SemanticDiff can be used as a drop-in replacement for the standard VS Code diff viewer. Compare two files on your disk or view a pull request with an extension. As long as the programming language is supported, you are ready to go.

  • Compare two files
  • View changes in git commits
  • Compatible with other extensions

Online Demo

Want to give it a try? It's free!

The VS Code extension is free for both personal and commercial use.
Simply install the extension from the VS Marketplace.