Skip to content

Commit

Permalink
quote path to a file when opening with code.exe (VSCode) (fixes #3859)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Nov 9, 2023
1 parent b49630b commit d70c652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ TempStr AppGenDataFilenameTemp(const char* fileName) {
static TextEditor editorRules[] = {
{
"Code.exe",
R"(--goto %f:%l)",
R"(--goto "%f:%l")",
RegType::BinaryPath,
kRegCurrentVer "\\Uninstall\\{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1",
// TODO: change back to Code.exe
Expand Down

0 comments on commit d70c652

Please sign in to comment.