Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

Rider

Rider is a commercial JetBrains IDE for C# and C++ that uses the same solution system as Visual Studio.

导入项目

小技巧

If you already use Visual Studio as your main IDE, you can use the same solution file in Rider. Rider and Visual Studio use the same solution format, so you can switch between the two IDEs without rebuilding the solution file. Debug configurations need to be changed when going from one IDE to another.

Rider requires a solution file to work on a project. While Godot does not come with the solution file, it can be generated using SCons.

  • 导航到Godot根文件夹, 打开命令提示符或PowerShell窗口.

  • Copy, paste and run the next command to generate the solution.

scons platform=windows vsproj=yes dev_build=yes

The vsproj parameter signals that you want Visual Studio solution generated. The dev_build parameter makes sure the debug symbols are included, allowing to e.g. step through code using breakpoints.

  • If you have Rider setup as your main IDE for .sln, you can now open the project by double-clicking on the