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:
Raul Santos 2023-02-15 19:53:31 +01:00
parent f2aae8fa5c
commit d57cb460e2
No known key found for this signature in database
GPG key ID: B532473AE3A803E4

View file

@ -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);