Godot: Difference between revisions

Installation: Basic instructions for Godot-Mono VSCode.
Line 12: Line 12:


==== Enabling VSCode Editor for Godot-Mono (C#) ====
==== Enabling VSCode Editor for Godot-Mono (C#) ====
As Godot editor lacks optimization for C#, VSCode editor is recommended.
As Godot editor has poor support for C#, VSCode editor is recommended.
 
Configure Godot's '''Editor → Editor Settings''' menu:
 
* Set '''Dotnet''' -> '''Editor''' -> '''External Editor''' to '''Visual Studio Code'''.


Install and configure VSCode as such:
Install and configure VSCode as such:
Line 42: Line 38:
   ];
   ];
  };
  };
====== Configure Godot 4 for External VSCode Integration ======
Configure Godot's '''Editor → Editor Settings''' menu:
* Set '''Dotnet''' -> '''Editor''' -> '''External Editor''' to '''Visual Studio Code'''.
Click '''Editor''' [top menu] -> '''Editor Settings''' [menu item] -> '''General''' [Tab] -> '''Text Editor''' [Category] -> '''External''' [Sub-Category]:
* '''Exec Path''' -> Add the output of <code>which codium</code>, on my case would be: <code>/etc/profiles/per-user/REPLACE-USERNAME/bin/codium</code>
* '''Exec Flags''' -> <code>{project} --goto {file}:{line}:{col}</code>
* '''Use External Editor''' -> <code>On</code>
[[Category:Applications]]
[[Category:Applications]]