Is a plugin for Godot 4 being developed for Visual Studio?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Prefection

I’ve used VS before and love the functionality, and would love to develop Godot code in that environment. Thanks for any assistance!

What’s needed in a plugin? The solution targets are part of the project (e.g. editor/debug), while syntax and references also work. It’s all project-specific stuff, always has been? Give it a try!

spaceyjase | 2023-05-01 19:26

:bust_in_silhouette: Reply From: ibrahim.semab

You can use Visual Studio as your code editor for Godot by following these steps:

  1. Install Visual Studio Community Edition (it’s free) from the
    Microsoft website.

  2. In the Godot editor, go to Editor > Editor Settings and then choose
    the Text Editor tab.

  3. Under External Editor, select “Custom” and then enter the path to
    your Visual Studio executable in the text field. For example, on
    Windows, this might be “C:\Program Files (x86)\Microsoft Visual
    Studio\2019\Community\Common7\IDE\devenv.exe”.

  4. Under External Script Editor Arguments, enter the following
    arguments: “$(File)”:$(Line).

  5. Save your settings and close the Godot editor.

  6. Right-click on a script in the Godot editor and choose “Edit Script
    External”. This should open the script in Visual Studio.

  7. In Visual Studio, go to Tools > Options > Text Editor > General and
    make sure that “Line numbers” is checked.

That’s it! Now you can edit your Godot scripts in Visual Studio, and any changes you make will be automatically saved to your project.