call update_exports from LSP didSave function
exports in the inspector were not properly appearing when a gdscript was saved using an external IDE this commit adds a call to GDScript::UpdateExports toward the end of GDScriptTextDocument::didSave
This commit is contained in:
parent
4db3716d8d
commit
e9d8c261a5
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ void GDScriptTextDocument::didSave(const Variant &p_param) {
|
|||
} else {
|
||||
scr->reload(true);
|
||||
}
|
||||
scr->update_exports();
|
||||
ScriptEditor::get_singleton()->update_docs_from_script(scr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue