Merge pull request #71781 from awardell/lsp_update_exports
call update_exports from LSP didSave function
This commit is contained in:
commit
41cfd2cf50
@ -107,6 +107,7 @@ void GDScriptTextDocument::didSave(const Variant &p_param) {
|
|||||||
} else {
|
} else {
|
||||||
scr->reload(true);
|
scr->reload(true);
|
||||||
}
|
}
|
||||||
|
scr->update_exports();
|
||||||
ScriptEditor::get_singleton()->update_docs_from_script(scr);
|
ScriptEditor::get_singleton()->update_docs_from_script(scr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user