fix: avoid launching cursor without folder context

This commit is contained in:
boxqkrtm
2025-04-24 13:23:49 +09:00
committed by GitHub
parent cac0c13658
commit f1148f1205

View File

@@ -503,7 +503,7 @@ namespace Microsoft.Unity.VisualStudio.Editor {
var newArgs = string.IsNullOrEmpty(path) ?
$"--new-window \"{directory}\"" :
$"--new-window -g \"{path}\":{line}:{column}";
$"--new-window \"{directory}\" -g \"{path}\":{line}:{column}";
ProcessRunner.Start(ProcessStartInfoFor(application, newArgs));
return true;