An open API service indexing awesome lists of open source software.

https://github.com/madskristensen/filediffer

A Visual Studio extension
https://github.com/madskristensen/filediffer

diff visual-studio visual-studio-extension

Last synced: 10 months ago
JSON representation

A Visual Studio extension

Awesome Lists containing this project

README

          

# File Differ

[![Build status](https://ci.appveyor.com/api/projects/status/s65xx32188hpocy7?svg=true)](https://ci.appveyor.com/project/madskristensen/filediffer)

Download this extension from the [VS Gallery](https://marketplace.visualstudio.com/items?itemName=MadsKristensen.FileDiffer)
or get the [CI build](http://vsixgallery.com/extension/ea5c68d6-cdae-4e79-bd46-2a39e95bb256/).

---------------------------------------

The easiest way to diff two files directly in solution explorer. This extension is inspired by a Visual Studio [feature request](https://developercommunity.visualstudio.com/t/is-there-a-way-to-compare-two-files-from-solution/619706), so please vote for it if you think it should be built in.

![Diff View](art/diff-view.png)

## Solution Explorer
Here�s are the commands available from the right-click menu in Solution Explorer:

* Compare two files in Solution Explorer
* Compare file with another file on disks
* Compare file with content of clipboard
* Compare file with its unmodified version

### Compare selected files
Select two files in Solution Explorer and right-click to bring up the context menu.

![Context Menu](art/multi-selection.png)

Then select *Selected Files* to see them side-by-side in the diff view.

### Compare with a file on disk
If you only selected a single file, a file selector prompt will show up to let you select which file on disk to diff against.

![Context Menu](art/single-selection.png)

### Compare with clipboard
If there is text content on the clipboard, you can compare a file with it by selecting *Clipboard* from the context menu.

## Code editor
There are also commands specific to the code editor. By right-clicking inside the code editor, you�ll get the following options for diffing:

* Compare selection with clipboard
* Compare active file with clipboard
* Compare active file with saved
* Compare active file with file on disk

![Context Menu](art/editor.png)

## License
[Apache 2.0](LICENSE)