Skip to content

[Bug]: Autocomplete stops working if line is last in a scope #201

@jarcen

Description

@jarcen

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

Image

Added return True;, now Level has deeper blue tint, indicating that something has changed:

Image

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions