Skip to content

Commit 1b2372f

Browse files
committed
Update
1 parent 3131cbd commit 1b2372f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

extension/out/src/extension.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

language-server/src/server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ function connect_unreal() {
3939
{
4040
if (msg.type == MessageType.Diagnostics)
4141
{
42-
if (!InitialPostProcessDone)
43-
RunInitialPostProcess();
44-
4542
let diagnostics: Diagnostic[] = [];
4643

4744
// Based on https://en.wikipedia.org/wiki/File_URI_scheme,
@@ -165,6 +162,7 @@ connection.onInitialize((_params): InitializeResult => {
165162
if (asfile)
166163
modules.push(asfile);
167164
}
165+
RunInitialPostProcess();
168166
});
169167

170168
return {
@@ -191,6 +189,8 @@ connection.onInitialize((_params): InitializeResult => {
191189
let InitialPostProcessDone = false;
192190
function RunInitialPostProcess()
193191
{
192+
if (InitialPostProcessDone)
193+
return;
194194
for (let file of scriptfiles.GetAllFiles())
195195
{
196196
completion.ResolveAutos(file.rootscope);

0 commit comments

Comments
 (0)