Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>diff-folderNew to Visual Studio Code? Get it now.
diff-folder

diff-folder

tcdhry

|
4 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Diff Folder

A VS Code extension that compares two folders and displays the differences in a tree view.

Features

Folder Selection

alt text

Open the Diff Folder view from the Activity Bar and select the left and right folders using the buttons.

You can also set folders by dragging and dropping them from the Explorer onto the buttons in the FOLDERS section.

Difference Tree View

alt text

Once two folders are selected, a difference tree is displayed in the DIFF section.

The following indicators are used:

  • L: File exists only in the Left folder
  • R: File exists only in the Right folder
  • X: File exists in both folders, but the contents differ
  • (No mark): File exists in both folders and the contents are identical

When Watch is enabled, file changes within the selected folders are detected automatically, and the difference tree is refreshed.

Settings

diff-folder.useGitignore

  • Type: boolean
  • Default: true
  • Description: When set to true, files matching patterns defined in .gitignore are excluded from comparison.

diff-folder.excludePatterns

  • Type: array of strings
  • Default: ["**/.git"]
  • Description: Files matching the specified patterns can be excluded from the difference tree view.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft