From d7b4e903cb63a5b2ef71c0e7babdf7dd18260663 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Wed, 15 Mar 2017 21:17:15 -0700 Subject: [vcpkg-edit] Fix search for VSCode insiders --- toolsrc/src/commands_edit.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'toolsrc/src/commands_edit.cpp') diff --git a/toolsrc/src/commands_edit.cpp b/toolsrc/src/commands_edit.cpp index bc1f6715d..1252790af 100644 --- a/toolsrc/src/commands_edit.cpp +++ b/toolsrc/src/commands_edit.cpp @@ -56,6 +56,12 @@ namespace vcpkg::Commands::Edit env_EDITOR = p.native(); break; } + auto p_insiders = fs::path(*code_installpath) / "Code - Insiders.exe"; + if (fs::exists(p_insiders)) + { + env_EDITOR = p_insiders.native(); + break; + } } } } -- cgit v1.2.3