feat: GitDiffMargin for VS2012 1.0
This commit is contained in:
32
GitDiffMargin.vs2012/GitDiffMargin.vs2012.nuspec
Normal file
32
GitDiffMargin.vs2012/GitDiffMargin.vs2012.nuspec
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>GitDiffMargin.vs2012</id>
|
||||
<title>Git Diff Margin for Visual Studio 2012</title>
|
||||
<version>1.0</version>
|
||||
<authors>Laurent Kempé</authors>
|
||||
<owners>Ethan J Brown</owners>
|
||||
<summary>A margin extension to the Visual Studio Editor which displays the git diff.</summary>
|
||||
<description>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
|
||||
</description>
|
||||
<releaseNotes></releaseNotes>
|
||||
<projectUrl>https://github.com/laurentkempe/GitDiffMargin</projectUrl>
|
||||
<tags>git visualstudio vs vs2012 2012</tags>
|
||||
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<iconUrl>https://github.com/ferventcoder/chocolateyautomaticpackages/raw/master/git/git.png</iconUrl>
|
||||
<dependencies>
|
||||
<dependency id="git.install" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
16
GitDiffMargin.vs2012/tools/chocolateyInstall.ps1
Normal file
16
GitDiffMargin.vs2012/tools/chocolateyInstall.ps1
Normal file
@@ -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
|
||||
}
|
Reference in New Issue
Block a user