You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Mono: Fix opening code editors in OSX and cleanup
This commit is contained in:
@@ -50,7 +50,10 @@ class GodotSharpEditor : public Node {
|
||||
|
||||
GodotSharpBuilds *godotsharp_builds;
|
||||
|
||||
MonoDevelopInstance *monodevel_instance;
|
||||
MonoDevelopInstance *monodevelop_instance;
|
||||
#ifdef OSX_ENABLED
|
||||
MonoDevelopInstance *visualstudio_mac_instance;
|
||||
#endif
|
||||
|
||||
bool _create_project_solution();
|
||||
|
||||
@@ -74,12 +77,24 @@ public:
|
||||
|
||||
enum ExternalEditor {
|
||||
EDITOR_NONE,
|
||||
#ifdef WINDOWS_ENABLED
|
||||
//EDITOR_VISUALSTUDIO, // TODO
|
||||
EDITOR_MONODEVELOP,
|
||||
EDITOR_CODE,
|
||||
EDITOR_VSCODE
|
||||
#elif OSX_ENABLED
|
||||
EDITOR_VISUALSTUDIO_MAC,
|
||||
EDITOR_MONODEVELOP,
|
||||
EDITOR_VSCODE
|
||||
#elif UNIX_ENABLED
|
||||
EDITOR_MONODEVELOP,
|
||||
EDITOR_VSCODE
|
||||
#endif
|
||||
};
|
||||
|
||||
_FORCE_INLINE_ static GodotSharpEditor *get_singleton() { return singleton; }
|
||||
|
||||
static void register_internal_calls();
|
||||
|
||||
void show_error_dialog(const String &p_message, const String &p_title = "Error");
|
||||
|
||||
Error open_in_external_editor(const Ref<Script> &p_script, int p_line, int p_col);
|
||||
|
||||
Reference in New Issue
Block a user