I am writing a Godot plugin and I am using this trick here:
var plugin = EditorPlugin.new()
edi = plugin.get_editor_interface();
plugin.queue_free()
But I wonder if I can access the EditorInterface singleton directly, without the need for a EditorPlugin instance...