C#: Add Ide Connection library and server for the editor

This will be used for communicating between the Godot editor and external IDEs/editors, for things like opening files, triggering hot-reload and running the game with a debugger attached.
This commit is contained in:
Ignacio Etcheverry 2019-07-18 04:08:24 +02:00
parent 4b7b1b0d4a
commit 0b94203a79
44 changed files with 1636 additions and 239 deletions

View file

@ -4339,6 +4339,15 @@ bool EditorNode::ensure_main_scene(bool p_from_native) {
return true;
}
void EditorNode::run_play() {
_menu_option_confirm(RUN_STOP, true);
_run(false);
}
void EditorNode::run_stop() {
_menu_option_confirm(RUN_STOP, false);
}
int EditorNode::get_current_tab() {
return scene_tabs->get_current_tab();
}

View file

@ -867,6 +867,9 @@ public:
static void add_build_callback(EditorBuildCallback p_callback);
bool ensure_main_scene(bool p_from_native);
void run_play();
void run_stop();
};
struct EditorProgress {