• Stars
    star
    284
  • Rank 145,616 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created about 12 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Git Diff Margin displays live Git changes of the currently edited file on Visual Studio margin and scroll bar. Supports Visual Studio 2012 through Visual Studio 2022

Git Diff Margin VS Marketplace Rating(Short) Installs(Short)) Downloads(Short)))

Git Diff Margin displays live Git changes of the currently edited file on Visual Studio margin and scroll bar.

Build Status Build status Gitter

Features

  • Supports Visual Studio 2012 through Visual Studio 2022
  • Quickly view all current file changes on
    • Left margin
    • Scroll Bars in map and bar mode with and without source overview
      • blue rectangle for modifications
      • green rectangles for new lines
      • red triangles for deletions
      • all colors configurable through Visual Studio Fonts and Colors options
  • Undo the change
  • Copy the old code into the clipboard
  • Copy a part of the old code by selecting it in the popup
  • Show the diff in Visual Studio Diff window
  • Navigate to previous/next change on the file using user defined keyboard shortcuts or the popup icons
  • Open popup with user defined keyboard shortcuts, close with esc key
  • Support Visual Studio 2013 Dark, Light and Blue Theme
  • Support zoom
  • Diff against something other than HEAD (Advanced users)

Screenshot

For a better experience you should disable Visual Studio built in 'Track changes' bar.

Git Diff Margin version 3.2.2 is the latest release supporting Visual Studio 2010 it uses LibGit2Sharp v0.23.1 and is not being maintained. You can download it here.

Sponsor

If you use and 💗 Git Diff Margin extension you can become a sponsor now!

Installation

Grab it from inside of Visual Studio's Extension Manager searching for Git Diff Margin, or via the Extension Gallery link.

You can use Chocolatey Git Diff Margin.

Video

You might see a short video showing some Git Diff Margin features on the following page.

Contributing

Visit the Contributor Guidelines for details on how to contribute as well as the Contributor Covenant Code of Conduct for details on how to participate.

Build requirements

  • Visual Studio 2017
  • Visual Studio SDK
  • The built VSIX will work with Visual Studio 2012 to Visual Studio 2019

Build

Clone the repository and using a git GUI client or via the command line:

git clone https://github.com/laurentkempe/GitDiffMargin.git
cd GitDiffMargin

Open the GitDiffMargin.sln solution with Visual Studio 2017+, build and run!

Feedback

Credits

Thanks to

Copyright

Copyright 2012 - 2021 Laurent Kempé

Licensed under the MIT License

More Repositories

1

DynamicRun

Dynamically run code using .NET 8, Roslyn and AssemblyLoadContext
C#
110
star
2

Cacao

Leveraging Boxstarter and Chocolatey to quickly install most of the developers tools I use for my daily job!
PowerShell
58
star
3

aspirePlayground

Some experiments around .NET Aspire to learn.
C#
49
star
4

WpfGenericHost

dotnet core 3.0 & .NET 8 WPF application using .NET Generic Host
C#
44
star
5

daprPlayground

Playground and samples in .NET C# for Dapr
C#
17
star
6

dotfiles

@laurentkempe dotfiles and scripts for dev
PowerShell
15
star
7

GatsbyCore

ASP.NET Core 3.0 as back-end and Gatsby as front-end
CSS
14
star
8

WpfIoc

.NET Core 3.0 Wpf application using Ioc
C#
13
star
9

Nubot

NOT SUPPORTED ANYMORE - Nubot is a chat bot in C# connecting to HipChat and soon others
C#
11
star
10

omnivore-api-demo-csharp

A simple .NET 7 C# demo of Omnivore's API
C#
10
star
11

grpcAsyncStream

.NET Core 3.0 gRPC Client and Server application showing asynchronous capabilities of gRPC and how to handle it in C# 8 Async stream
C#
9
star
12

aiPlayground

Some experiments around AI to learn.
C#
8
star
13

PReview

Facilitate GitHub Pull Request reviews from within Visual Studio 2015
C#
5
star
14

TeamCitySharper

.NET 4 library to access TeamCity REST API in both Async and Sync ways
5
star
15

dockerWebApi

dotnet core 3.0 web api running in Docker container using Github Actions & Package Registry and deployed to Azure Container Instances
C#
4
star
16

NukeBuildAutomation

Sample Nuke project used for my blog post "Automate your .NET project builds with NUKE a cross-platform build automation solution"
C#
4
star
17

StatiqBlog

My blog https://laurentkempe.com/
C#
3
star
18

BlazorApp-OLD

Experimenting with Blazor WebAssembly RC
HTML
3
star
19

WasiWebApi

Experimenting with WASM and WASI to run .NET 7 on a Raspberry PI Zero 2 W
C#
2
star
20

WpfPlayground

Playing with .NET 5, C# 9 and WPF
C#
2
star
21

grpcAsyncStreamCancellation

.NET Core 3.0 gRPC Client and Server application showing asynchronous capabilities of gRPC and how to handle it in C# 8 Async stream with cancellation.
C#
2
star
22

JiraOutput

A SnagIt plugin to upload screenshot to Jira
C#
2
star
23

Thb.OmnivoreClient

A .NET client for Omnivore GraphQL API
C#
2
star
24

ConsoleWasmDocker

Experimenting with .NET 7, WASM and WASI on Docker
Dockerfile
2
star
25

Demo-WebAPI-MongoDB-Docker

Simple ASP.NET Core Web API demo project
C#
1
star
26

HipChatConnect

First step implementation of a HipChat Connect add-on with ASP.NET Core 1.1
C#
1
star
27

containerPlayground

Some experiments around .NET and container to learn.
C#
1
star
28

hubot-scripts

Hubot scripts from @laurentkempe
CoffeeScript
1
star
29

BlogOps

Tool to operate my blog.
C#
1
star
30

ChiseledDocker

.NET 7 SDK built-in container support and Ubuntu Chiseled
C#
1
star
31

NukePulumi

C#
1
star