|
|
|
 |
Attention |
Topic was automatically imported from the old Question2Answer platform. |
 |
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
|
|
|
 |
Reply From: |
ibrahim.semab |
You can use Visual Studio as your code editor for Godot by following these steps:
-
Install Visual Studio Community Edition (it’s free) from the
Microsoft website.
-
In the Godot editor, go to Editor > Editor Settings and then choose
the Text Editor tab.
-
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”.
-
Under External Script Editor Arguments, enter the following
arguments: “$(File)”:$(Line).
-
Save your settings and close the Godot editor.
-
Right-click on a script in the Godot editor and choose “Edit Script
External”. This should open the script in Visual Studio.
-
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.