mirror of
https://github.com/godotengine/godot-csharp-visualstudio.git
synced 2026-01-01 01:48:18 +03:00
Found no better way to make Visual Studio install Clide when installing this extension. Adding Clide to Dependencies doesn't work. VisualStudio fails to resolve it during installation. We can include 'Clide.Core.Windows.dll' as a Mef component in this extension, but that causes issues if Xamarin is installed too (two 'Clide.Core.Windows.dll' so components are exported twice). As such, this extension sadly requires Xamarin to be installed as well for now. It's a quite bulky dependency, so we should continue looking for possible alternatives to this.
1.1 KiB
1.1 KiB
Godot C# extension for Visual Studio
Visual Studio extension for the Godot game engine C# projects.
Requirements
- Godot 3.2.2 or greater. Older versions of Godot are not supported.
Features
- Debugging.
- Launch a game directly in the Godot editor from Visual Studio.
- Additional code completion for Node paths, Input actions, Resource paths, Scene paths and Signal names.
NOTES:
- A running Godot instance must be editing the project in order for code completion and the
Play in Editordebug target to work. - Node path suggestions are provided from the currently edited scene in the Godot editor.
Debug targets
- Play in Editor
Launches the game in the Godot editor for debugging in Visual Studio.
For this option to work, a running Godot instance must be editing the project. - Launch
Launches the game with a Godot executable for debugging in Visual Studio.
Before using this option, the value of the "executable" property must be changed to a path that points to the Godot executable that will be launched. - Attach
Attaches to a running Godot instance that was configured to listen for a debugger connection.