mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
87fd71244b
commit
6687484958
8 changed files with 49 additions and 10 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue