mirror of
https://github.com/godotengine/godot-csharp-visualstudio.git
synced 2026-01-01 01:48:18 +03:00
* Dependencies updated to support VS22.
* Close throws exception if not running on main thread. Roslyn dependency set.
* Updated Visual Studio version to 2022 in README.md
* Updated dependencies. May break previous VS19 builds. Works on VS22 17.0.4.
* Updated dependencies, working properly with VS22, NOT WORKING WITH VS19, VISIT 1.X BRANCH TO WORK WITH VS19.
* Requirements updated in README.md
* Version updated to 2.0.0
* Reverted commit 35f18ad. Changed back Test project dependencies.
33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
# Godot C# extension for Visual Studio
|
|
|
|
Visual Studio extension for the Godot game engine C# projects.
|
|
|
|
## Requirements
|
|
|
|
- **Godot 3.2.3** or greater. Older versions of Godot are not supported and do not work.
|
|
- **Visual Studio 2022**. VS 2019 or earlier are not supported.
|
|
- **Visit 1.x** branch to get the **Visual Studio 2019** supported version.
|
|
|
|
## 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 Editor` debug 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.
|