🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 57 (from laksa120)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

đź“„
INDEXABLE
âś…
CRAWLED
6 days ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0.2 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://grantwinney.com/how-to-compare-files-using-vs-code/
Last Crawled2026-04-12 07:17:07 (6 days ago)
First Indexed2023-07-27 04:09:38 (2 years ago)
HTTP Status Code200
Meta TitleComparing files in VS Code | Grant Winney
Meta DescriptionVS Code is a great editor with a lot of useful features, like being able to compare two random files for differences. Let’s see how.
Meta Canonicalnull
Boilerpipe Text
I recently found myself in need of comparing two versions of an XML file for a merge, something that seems to frequently confuse git. Even better, this particular file was generated as a minified file , which really confuses git. Fortunately, VS Code helps with formatting and comparing files, but let’s stick to comparing. Files that are saved in the same folder If the files are saved to disk in the same folder, open the folder, either with the “Open Folder” button on the left (if the “Explorer” pane is open), or with the “Open Folder” option in the “File” menu, or with the “ctrl-k, ctrl-o” shortcut (in Windows): Then select both files, right click, and choose “Compare Selected”: We get a nice little side-by-side that collapses into an inline comparison if the window’s too small: Files that aren’t in the same folder.. or aren’t saved at all Whether your files are saved to disk or not, the first thing you’ll need to do is show all open editors, something that doesn’t seem to be displayed by default and is hidden in the “three dots” menu. Open the “Explorer” pane on the left, then press the “�” item in the top corner and select “Open Editors”. Select both files, right click, and choose “Compare Selected” from the context menu: This works just as well for files that aren’t saved too:
Markdown
[Grant Winney](https://grantwinney.com/ "Grant Winney (Alt + H)") - [About](https://grantwinney.com/about/ "Hi! I'm Grant.") - [Learn](https://grantwinney.com/categories/learn/ "Learn") - [Explore](https://grantwinney.com/categories/explore/ "Explore") - [Build](https://grantwinney.com/categories/build/ "Build") - [Reflect](https://grantwinney.com/categories/reflect/ "Reflect") # Comparing files in VS Code Jul 26, 2023 (rev. Oct 11, 2025) · 2 min ![](https://grantwinney.com/banners/default-learn-banner.webp) Table of Contents - [Files that are saved in the same folder](https://grantwinney.com/how-to-compare-files-using-vs-code/#files-that-are-saved-in-the-same-folder) - [Files that *aren’t* in the same folder.. or aren’t saved at all](https://grantwinney.com/how-to-compare-files-using-vs-code/#files-that-aren-in-the-same-folder-or-arent-saved-at-all) I recently found myself in need of comparing two versions of an XML file for a merge, something that seems to frequently confuse git. Even better, this particular file was generated as a [minified file](https://grantwinney.com/minification-vs-obfuscation/), which *really* confuses git. Fortunately, VS Code helps with formatting *and* comparing files, but let’s stick to comparing. ## Files that are saved in the same folder[\#](https://grantwinney.com/how-to-compare-files-using-vs-code/#files-that-are-saved-in-the-same-folder) If the files are saved to disk in the same folder, open the folder, either with the “Open Folder” button on the left (if the “Explorer” pane is open), or with the “Open Folder” option in the “File” menu, or with the “ctrl-k, ctrl-o” shortcut (in Windows): [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-12.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-12.png) Then select both files, right click, and choose “Compare Selected”: [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-13.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-13.png) We get a nice little side-by-side that collapses into an inline comparison if the window’s too small: [![](https://grantwinney.com/how-to-compare-files-using-vs-code/xmlcompare1.gif)](https://grantwinney.com/how-to-compare-files-using-vs-code/xmlcompare1.gif) ## Files that *aren’t* in the same folder.. or aren’t saved at all[\#](https://grantwinney.com/how-to-compare-files-using-vs-code/#files-that-aren-in-the-same-folder-or-arent-saved-at-all) Whether your files are saved to disk or not, the first thing you’ll need to do is show all open editors, something that doesn’t seem to be displayed by default and is hidden in the “three dots” menu. Open the “Explorer” pane on the left, then press the “�” item in the top corner and select “Open Editors”. Select both files, right click, and choose “Compare Selected” from the context menu: [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-15.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-15.png) [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-16.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-16.png) [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-17.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-17.png) This works just as well for files that aren’t saved too: [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-19.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-19.png) [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-18.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-18.png) - [vscode](https://grantwinney.com/tags/vscode/) Comments © 2026 [Grant Winney](https://grantwinney.com/read-me/) · Powered by [Hugo](https://gohugo.io/) + [PaperMod](https://github.com/adityatelange/hugo-PaperMod/) · [Archives](https://grantwinney.com/archives)
Readable Markdown
I recently found myself in need of comparing two versions of an XML file for a merge, something that seems to frequently confuse git. Even better, this particular file was generated as a [minified file](https://grantwinney.com/minification-vs-obfuscation/), which *really* confuses git. Fortunately, VS Code helps with formatting *and* comparing files, but let’s stick to comparing. ## Files that are saved in the same folder If the files are saved to disk in the same folder, open the folder, either with the “Open Folder” button on the left (if the “Explorer” pane is open), or with the “Open Folder” option in the “File” menu, or with the “ctrl-k, ctrl-o” shortcut (in Windows): [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-12.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-12.png) Then select both files, right click, and choose “Compare Selected”: [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-13.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-13.png) We get a nice little side-by-side that collapses into an inline comparison if the window’s too small: [![](https://grantwinney.com/how-to-compare-files-using-vs-code/xmlcompare1.gif)](https://grantwinney.com/how-to-compare-files-using-vs-code/xmlcompare1.gif) ## Files that *aren’t* in the same folder.. or aren’t saved at all Whether your files are saved to disk or not, the first thing you’ll need to do is show all open editors, something that doesn’t seem to be displayed by default and is hidden in the “three dots” menu. Open the “Explorer” pane on the left, then press the “�” item in the top corner and select “Open Editors”. Select both files, right click, and choose “Compare Selected” from the context menu: [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-15.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-15.png) [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-16.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-16.png) [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-17.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-17.png) This works just as well for files that aren’t saved too: [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-19.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-19.png) [![](https://grantwinney.com/how-to-compare-files-using-vs-code/image-18.png)](https://grantwinney.com/how-to-compare-files-using-vs-code/image-18.png)
Shard57 (laksa)
Root Hash16129441129728297057
Unparsed URLcom,grantwinney!/how-to-compare-files-using-vs-code/ s443