C#: Open the solution directory when using VSCode
The solution directory used to be the same as the project directory (`res://`). We now allow specifying a different path for the solution and the other external editors already use that (which seems more convenient for multi-project scenarios).
This commit is contained in:
parent
f2aae8fa5c
commit
d57cb460e2
1 changed files with 1 additions and 2 deletions
|
@ -272,8 +272,7 @@ namespace GodotTools
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
string resourcePath = ProjectSettings.GlobalizePath("res://");
|
args.Add(Path.GetDirectoryName(GodotSharpDirs.ProjectSlnPath));
|
||||||
args.Add(resourcePath);
|
|
||||||
|
|
||||||
string scriptPath = ProjectSettings.GlobalizePath(script.ResourcePath);
|
string scriptPath = ProjectSettings.GlobalizePath(script.ResourcePath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue