From dbb6e8750c07c8836b36612e79b41981b76209b3 Mon Sep 17 00:00:00 2001 From: Iristyle Date: Sat, 8 Jun 2013 00:12:50 -0400 Subject: [PATCH] feat: GitDiffMargin for VS2012 1.0 --- .../GitDiffMargin.vs2012.nuspec | 32 +++++++++++++++++++ .../tools/chocolateyInstall.ps1 | 16 ++++++++++ 2 files changed, 48 insertions(+) create mode 100644 GitDiffMargin.vs2012/GitDiffMargin.vs2012.nuspec create mode 100644 GitDiffMargin.vs2012/tools/chocolateyInstall.ps1 diff --git a/GitDiffMargin.vs2012/GitDiffMargin.vs2012.nuspec b/GitDiffMargin.vs2012/GitDiffMargin.vs2012.nuspec new file mode 100644 index 0000000..515491d --- /dev/null +++ b/GitDiffMargin.vs2012/GitDiffMargin.vs2012.nuspec @@ -0,0 +1,32 @@ + + + + GitDiffMargin.vs2012 + Git Diff Margin for Visual Studio 2012 + 1.0 + Laurent Kempé + Ethan J Brown + A margin extension to the Visual Studio Editor which displays the git diff. + A Visual Studio 2012 extension to display Git Diff on the margin of the current file. + +* Quickly view all current file changes on the left margin: blue rectangle for modification, green rectangle for new lines and grey triangle for deletion +* Navigate to previous/next change on the file +* Undo the change +* Show the diff in external tool +* Copy the old code into the clipboard +* Copy a part of the old code by selecting it in the popup +* Define the colors of the Addition, Modification and Deletion diff margin through Visual Studio Fonts and Colors options +* Support Visual Studio 2012 Dark, Light and Blue Theme +* Support the zoom + + + https://github.com/laurentkempe/GitDiffMargin + git visualstudio vs vs2012 2012 + http://opensource.org/licenses/MIT + false + https://github.com/ferventcoder/chocolateyautomaticpackages/raw/master/git/git.png + + + + + diff --git a/GitDiffMargin.vs2012/tools/chocolateyInstall.ps1 b/GitDiffMargin.vs2012/tools/chocolateyInstall.ps1 new file mode 100644 index 0000000..38f2965 --- /dev/null +++ b/GitDiffMargin.vs2012/tools/chocolateyInstall.ps1 @@ -0,0 +1,16 @@ +try { + $package = 'GitDiffMargin.vs2012' + + $params = @{ + PackageName = $package; + VsixUrl = 'http://visualstudiogallery.msdn.microsoft.com/cf49cf30-2ca6-4ea0-b7cc-6a8e0dadc1a8/file/101267/1/GitDiffMargin.vsix'; + VsVersion = 11; # VS 2012 + } + + Install-ChocolateyVsixPackage @params + + Write-ChocolateySuccess $package +} catch { + Write-ChocolateyFailure $package "$($_.Exception.Message)" + throw +}