mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05: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:
@@ -557,6 +557,8 @@ void ScriptEditor::_update_modified_scripts_for_external_editor(Ref<Script> p_fo
|
||||
if (!bool(EditorSettings::get_singleton()->get("text_editor/external/use_external_editor")))
|
||||
return;
|
||||
|
||||
ERR_FAIL_COND(!get_tree());
|
||||
|
||||
Set<Ref<Script> > scripts;
|
||||
|
||||
Node *base = get_tree()->get_edited_scene_root();
|
||||
|
||||
Reference in New Issue
Block a user