You've already forked com.unity.ide.cursor
mirror of
https://github.com/boxqkrtm/com.unity.ide.cursor.git
synced 2026-05-14 14:20:09 +00:00
fix: avoid launching cursor without folder context
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user