Skip to content

Setup VS2022

Valk edited this page Aug 10, 2025 · 17 revisions

Setup VS2022

  1. Install Visual Studio 2022
  2. In Godot Editor > Editor Settings
  3. Search for "external editor"
  4. Go to Dotnet > Editor and set External Editor to Visual Studio
  5. Double click on any script in the game engine to open that script in VS2022

Setup Debugging

  1. In VS2022, navigate to Debug > Template Debug Properties
  2. Delete the only profile there
  3. Create a new "Executable" profile
  4. Set the executable path to where Godot_v4.3-stable_mono_win64.exe is located
  5. Set the working directory to '.' without the ''
  6. Set a breakpoint somewhere where you want the code to pause
  7. Click the green arrow "Profile 1" to launch the game with debugging enabled
image

If you are having an issue, see if it is mentioned here.

Tips

Prevent VS from Adding throw new NotImplementedException() on Auto Properties

To make Visual Studio generate auto-properties (e.g., public string Prop { get; set; }) instead of throwing exceptions when implementing abstract members:

  1. Go to Tools > Options > Text Editor > C# > Advanced.
  2. Under Implement Interface or Abstract Class, check Prefer auto properties.
  3. Click OK.

This only affects code generated via Quick Actions or Implement Interface/Abstract Class commands.

Color Themes (Optional)

Custom background can be achieved with ClaudiaIDE and then install a color theme.

You can get your IDE to look like this for example.

image

Clone this wiki locally