Skip to content

Commit

Permalink
add missing vscode path (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored May 1, 2020
1 parent d2686fe commit 6660542
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/diff-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,8 @@ This behavior is currently supported on Windows. On Linux and OSX, tool instance
* Scanned paths:

* `%LocalAppData%\Programs\Microsoft VS Code\code.exe`
* `%ProgramFiles%\Microsoft VS Code\bin\code`
* `%ProgramFiles%\Microsoft VS Code\bin\code.exe`
* `%ProgramFiles%\Microsoft VS Code\code.exe`

### OSX settings:

Expand Down
3 changes: 2 additions & 1 deletion src/DiffEngine.Tests/diffTools.include.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@
* Scanned paths:

* `%LocalAppData%\Programs\Microsoft VS Code\code.exe`
* `%ProgramFiles%\Microsoft VS Code\bin\code`
* `%ProgramFiles%\Microsoft VS Code\bin\code.exe`
* `%ProgramFiles%\Microsoft VS Code\code.exe`

### OSX settings:

Expand Down
3 changes: 2 additions & 1 deletion src/DiffEngine/Implementation/VsCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ string Arguments(string temp, string target) =>
windows: new OsSettings(
Arguments,
@"%LocalAppData%\Programs\Microsoft VS Code\code.exe",
@"%ProgramFiles%\Microsoft VS Code\bin\code"),
@"%ProgramFiles%\Microsoft VS Code\bin\code.exe",
@"%ProgramFiles%\Microsoft VS Code\code.exe"),
linux: new OsSettings(
Arguments,
@"/usr/local/bin/code"),
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<PropertyGroup>
<NoWarn>CS1591;CS0649</NoWarn>
<Version>3.0.2</Version>
<Version>3.0.3</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<PackageTags>Json, Testing, Verify, Snapshot, Approvals</PackageTags>
<Description>Enables simple verification of complex models and documents.</Description>
Expand Down

0 comments on commit 6660542

Please sign in to comment.