You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
Better user expirence with external text editors.
Implements open_in_external_editor for subclasses of ScriptLanguage. Add option 'Debug with external editor' to debug menu to control the behavoir of script opened by editor.
This commit is contained in:
@@ -84,6 +84,8 @@ class ScriptEditorDebugger : public Control {
|
||||
int last_error_count;
|
||||
|
||||
bool hide_on_stop;
|
||||
bool enable_external_editor;
|
||||
Ref<Script> stack_script;
|
||||
|
||||
TabContainer *tabs;
|
||||
|
||||
@@ -201,6 +203,11 @@ public:
|
||||
|
||||
void set_hide_on_stop(bool p_hide);
|
||||
|
||||
bool get_debug_with_external_editor() const;
|
||||
void set_debug_with_external_editor(bool p_enabled);
|
||||
|
||||
Ref<Script> get_dump_stack_script() const;
|
||||
|
||||
void set_tool_button(Button *p_tb) { debugger_button = p_tb; }
|
||||
|
||||
void reload_scripts();
|
||||
|
||||
Reference in New Issue
Block a user