Merge pull request #71781 from awardell/lsp_update_exports

call update_exports from LSP didSave function
This commit is contained in:
Rémi Verschelde 2023-01-21 10:30:05 +01:00
commit 41cfd2cf50
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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);
}
}