diff options
| -rw-r--r-- | toolsrc/src/commands_edit.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; + } } } } |
