Text editor setting in Godot 4

Godot Version

v4.5.1.stable.mono.official [f62fdbde1]

Question

I am coding mainly with C# but trying to use GDScript supplementarily. I have a comfortable external editor for C#, but for GDScript, I want to use the default code editor.

Can we set which editor to call based on the file opened? It feels troublesome to switch “Use External Editor” checkbox in Editor Setting every time.

Let me list what I found so far on text editor settings:

  • When you right-click on a file, you will see the “Open in External Program” option, but there is no “Open in Editor” option.
  • If an external editor is given, then drag-and-dropping a .gd file on the default editor opens the external editor. Is this intended?
  • .txt and .md files open in the default editor even if an external editor is given. Can we fix this?

If you toggle “Advanced Settings” switch in the editor settings there should be a separate “Dotnet” section with the C#-specific options in it. It’s odd that they hid it like that, I guess that is an advanced setting in a way.

Wow, I have not noticed it at all. Thank you for saving my life!