Partial Diff installs statistics
By Ryuichi Inagaki (2 listings) · VS Code Marketplace · Other
Compare (diff) text selections within a file, across files, or to the clipboard
Partial Diff has 1,409,102 recorded installs on VS Code Marketplace, an increase of 0.6% over the past 30 days, ranking #444 of 2,515 tracked listings.
Rating: 4.80 / 5 from 70 ratings
About Partial Diff
Partial Diff
Features
- You can compare (diff) text selections within a file, across different files, or to the clipboard.
- Multi cursor text selection.
- User defined text normalization rules to reduce the noise in the diff (e.g. replace tab characters to spaces).
- User defined text normalization rules can be toggled off without removing them from the configuration.
- Compare text in 2 visible editors in a split view with one action.

Request Features or Report Bugs
Feature requests and bug reports are very welcome: https://github.com/ryu1kn/vscode-partial-diff/issues
A couple of requests from me when you raise an github issue.
- Requesting a feature: Please try to provide the context of why you want that feature. Such as, in what situation the feature could help you and how, or how the lack of the feature is causing an inconvenience to you. I can't think of introducing it until I understand how it helps you 🙂
- Reporting a bug: Please include environment information (OS name/version, the editor version). Also screenshots (or even videos) are often very very helpful!
Commands
-
Select Text for Compare(Command ID:extension.partialDiff.markSection1)Marks the selected text as the text to compare the next selection with.
-
Compare Text with Previous Selection(Command ID:extension.partialDiff.markSection2AndTakeDiff)Compares the selected text to the first selection.
-
Compare Text with Clipboard(Command ID:extension.partialDiff.diffSelectionWithClipboard)Compares the current clipboard to the selected text.
-
Compare Text in Visible Editors(Command ID:extension.partialDiff.diffVisibleEditors)Compares text in 2 visible editors. Split your editor to show exactly 2 files before running this command.
-
Toggle Pre-Comparison Text Normalization Rules(Command ID:extension.partialDiff.togglePreComparisonTextNormalizationRules)Toggle pre-comparison text normalization rules.
NOTE:
- A diff will be shown only after selecting comparison text first (using
Select Text for Compare) exceptCompare Text in Visible Editors. - Executing
Select Text for Compare,Compare Text with Previous SelectionorCompare Text in Visible Editorscommand without selecting any text will use the entire text of the current file.
Configurations
-
partialDiff.commandsOnContextMenu(default:{"markSection1": true, ...}, all commands visible)Commands appear on the context menu. Unlisted commands will still appear.
For example, if you don't want to see Compare Text in Visible Editors command (Command ID:
extension.partialDiff.diffVisibleEditors) on the context menu, you can set this setting as follows:"partialDiff.commandsOnContextMenu": { "diffVisibleEditors": false } -
partialDiff.preComparisonTextNormalizationRules(default:[])Rules to normalize texts for diff view.
It doesn't mutate texts in the editors. Only texts in diff views get normalised. If a diff is presented with text normalised (or possibly normalised),
~is used in the diff title instead of↔)Each rule has
match,replaceWith.nameorenableOnStartare optional.name: Optional. Name of the rule to describe what the rule is for. You see this name on normalisation rule toggle menu.match: Regular expression to find text you want to normalise. Global search flag is automatically applied.replaceWith: One of the following- Replacement text as a string. You can use
$N, whereNis the index of substring (starting from 1) you captured inmatchwith(). - Letter case specification as an object. Valid cases are
upperandlower.
- Replacement text as a string. You can use
enableOnStart: Optional. Set itfalseif you don't want to use the rule when the extension starts up.
Sample
preComparisonTextNormalizationRules:"partialDiff.preComparisonTextNormalizationRules": [ { "name": "Replace tabs with whitespaces", "match": "\t", "replaceWith": " " }, { "name": "One space after comma", "match": ", *([^,\n]+)", "replaceWith": ", $1" }, { "name": "Capitalise", "match": ".*", "replaceWith": {"letterCase": "upper"}, "enableOnStart": false } ... ] -
partialDiff.enableTelemetry(default:true)Allow the extension usage data to be sent to the extension author.
Partial Diff sends usage data only when both
partialDiff.enableTelemetryandtelemetry.enableTelemetryare set totrue. -
partialDiff.hideCommandsOnContextMenu(default:false)(DEPRECATED) Hide Partial Diff commands on the context menu. Please use
partialDiff.commandsOnContextMenuinstead.
Keyboard Shortcuts
You can quickly mark the selected text by adding the partial-diff commands to your keyboard shortcut settings. For example:
{ "key": "ctrl+1", "command": "extension.partialDiff.markSection1",
"when": "editorTextFocus" },
{ "key": "ctrl+2", "command": "extension.partialDiff.markSection2AndTakeDiff",
"when": "editorTextFocus" },
{ "key": "ctrl+3", "command": "extension.partialDiff.diffSelectionWithClipboard",
"when": "editorTextFocus" },
Known problems…
Description from the VS Code Marketplace listing.
- diff
- vscode
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Other plugins
All 20 Partial Diff alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=ryu1kn.partial-diff. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.