Skip to content

Commit e95f202

Browse files
committed
use bin\code.cmd for VS Code
1 parent 7a7ba79 commit e95f202

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

docs/diff-tool.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -771,11 +771,11 @@ Non-MDI tools are preferred since it allows [DiffEngineTray](tray.md) to track a
771771
* Example target on left arguments: `--diff "targetFile.txt" "tempFile.txt" `
772772
* Example target on right arguments: `--diff "tempFile.txt" "targetFile.txt" `
773773
* Scanned paths:
774-
* `%LocalAppData%\Programs\Microsoft VS Code\code.exe`
775-
* `%ProgramFiles%\Microsoft VS Code\code.exe`
776-
* `%ProgramW6432%\Microsoft VS Code\code.exe`
777-
* `%ProgramFiles(x86)%\Microsoft VS Code\code.exe`
778-
* `%PATH%code.exe`
774+
* `%LocalAppData%\Programs\Microsoft VS Code\bin\code.cmd`
775+
* `%ProgramFiles%\Microsoft VS Code\bin\code.cmd`
776+
* `%ProgramW6432%\Microsoft VS Code\bin\code.cmd`
777+
* `%ProgramFiles(x86)%\Microsoft VS Code\bin\code.cmd`
778+
* `%PATH%code.cmd`
779779

780780
#### OSX settings:
781781

src/DiffEngine.Tests/diffTools.include.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -636,11 +636,11 @@ Non-MDI tools are preferred since it allows [DiffEngineTray](tray.md) to track a
636636
* Example target on left arguments: `--diff "targetFile.txt" "tempFile.txt" `
637637
* Example target on right arguments: `--diff "tempFile.txt" "targetFile.txt" `
638638
* Scanned paths:
639-
* `%LocalAppData%\Programs\Microsoft VS Code\code.exe`
640-
* `%ProgramFiles%\Microsoft VS Code\code.exe`
641-
* `%ProgramW6432%\Microsoft VS Code\code.exe`
642-
* `%ProgramFiles(x86)%\Microsoft VS Code\code.exe`
643-
* `%PATH%code.exe`
639+
* `%LocalAppData%\Programs\Microsoft VS Code\bin\code.cmd`
640+
* `%ProgramFiles%\Microsoft VS Code\bin\code.cmd`
641+
* `%ProgramW6432%\Microsoft VS Code\bin\code.cmd`
642+
* `%ProgramFiles(x86)%\Microsoft VS Code\bin\code.cmd`
643+
* `%PATH%code.cmd`
644644

645645
#### OSX settings:
646646

src/DiffEngine/Implementation/VsCode.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ public static Definition VisualStudioCode()
1616
BinaryExtensions: [".svg"],
1717
OsSupport: new(
1818
Windows: new(
19-
"code.exe",
19+
"code.cmd",
2020
launchArguments,
21-
@"%LocalAppData%\Programs\Microsoft VS Code\",
22-
@"%ProgramFiles%\Microsoft VS Code\"),
21+
@"%LocalAppData%\Programs\Microsoft VS Code\bin\",
22+
@"%ProgramFiles%\Microsoft VS Code\bin\"),
2323
Linux: new(
2424
"code",
2525
launchArguments),

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project>
33
<PropertyGroup>
44
<NoWarn>CS1591;CS0649</NoWarn>
5-
<Version>15.11.0</Version>
5+
<Version>15.11.1</Version>
66
<AssemblyVersion>1.0.0</AssemblyVersion>
77
<PackageTags>Testing, Snapshot, Diff, Compare</PackageTags>
88
<Description>Launches diff tools based on file extensions. Designed to be consumed by snapshot testing libraries.</Description>

0 commit comments

Comments
 (0)