0 votes

The ability to use C# with godot is a great feature.

I am confused as to why Visual Studio Code has docs and appears to receive some engine support, but Visual Studio 2019 does not.

For example, no mention here: https://docs.godotengine.org/en/3.1/getting_started/scripting/c_sharp/c_sharp_basics.html#configuring-an-external-editor

One of the big draws about being able to use C# is the ability to use a robust IDE that developers are already familiar with, and Visual Studio 2019 Community Edition is free, which also makes it viable for the hobbyist.

Why isn't Visual Studio 2019 officially supported as a C# editor?

asked Jan 9 in Engine by JimArtificer (12 points)

2 Answers

0 votes

As to why VSCode is prefered, I think it's because it's cross platform + open source (like Godot itself) and it's easier to create extensions for.

But.....

Have you tried using VS2019 VS VSCode? I have and I think they both work the same, though I haven't tried debugging from VS2019.

answered Jan 9 by Jason Swearingen (64 points)

I have. VS Code is improving, but it still feels more like a text editor and less like an IDE.

I actually have been doing my coding in VS2019, just because it gives better intelisense.

your godot project even includes a .sln file, so you can just double-click that to open the project in VS.

Again though, I haven't tried debugging, but as it's "Just" a mono project, it seems like VS should be able to.

FYI I tried, everything about VS2019 works, except debugging and profiling.

it seems you need an extension to debug mono projects, and the 2 extensions I could find don't work.

see: https://github.com/godotengine/godot-proposals/issues/371

–1 vote

Consider trying JetBrains Rider. Support for it landed in recent betas of Godot 3.2. https://github.com/godotengine/godot-docs/blob/master/getting_started/scripting/c_sharp/c_sharp_basics.rst#configuring-an-external-editor

Regarding your question, I guess noone added VS support yet, so it is not there.

answered Jan 15 by van800 (50 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.