summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-16 18:34:34 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-16 18:34:34 +0100
commit5cb32d8476468836baa67d9a0e39523d4e922acc (patch)
treebbdf3a078f3684ca064c678d295afd434ee5062a
parent05fd229e77901fa0a6aeee1cc8f62342a6d57a19 (diff)
parentd57cb460e25a12e11f43669196a0b446199ff3fd (diff)
Merge pull request #73392 from raulsntos/dotnet/vscode-open-solution
C#: Open the solution directory when using VSCode
-rw-r--r--modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs b/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs
index 43ead4af69..060c01b3f9 100644
--- a/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs
+++ b/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs
@@ -272,8 +272,7 @@ namespace GodotTools
}
}
- string resourcePath = ProjectSettings.GlobalizePath("res://");
- args.Add(resourcePath);
+ args.Add(Path.GetDirectoryName(GodotSharpDirs.ProjectSlnPath));
string scriptPath = ProjectSettings.GlobalizePath(script.ResourcePath);