Describe the bug
Autocomplete stops fully functioning if current line is last in a scope. Adding something after problematic line, even if invalid like foo;, makes autocomplete work. This is annoying when writing code normally from first line to last.
Do note, I'm talking about autocomplete inside something like Level.X, not Level. Top level autocomplete for local vars, class fields and other stuff in current file is OK. Well, except for F12 when pressing on Level. Says "No definition found for Level" until you workaround the bug.
Screenshots
Added return True;, now Level has deeper blue tint, indicating that something has changed:
Also what the hell is 4>Touching? Is this even correct syntax? I set addon to first gen syntax just to be sure but this suggestion immediately shows error upon completion.

Describe the bug
Autocomplete stops fully functioning if current line is last in a scope. Adding something after problematic line, even if invalid like
foo;, makes autocomplete work. This is annoying when writing code normally from first line to last.Do note, I'm talking about autocomplete inside something like
Level.X, notLevel. Top level autocomplete for local vars, class fields and other stuff in current file is OK. Well, except for F12 when pressing onLevel. Says "No definition found for Level" until you workaround the bug.Screenshots
Added
return True;, nowLevelhas deeper blue tint, indicating that something has changed:Also what the hell is
4>Touching? Is this even correct syntax? I set addon to first gen syntax just to be sure but this suggestion immediately shows error upon completion.