Skip to content

Autocomplete / proposals incorrect when followed by variable declaration #1129

@ssadedin

Description

@ssadedin

When the next statement is a variable declaration, autocomplete on the previous statement seems to be generated from the surrounding class context instead of the correct object. It is probably easiest to explain with a screenshot:

image

In this example, I expect to see proposals for the String and GString types, but actually observed behavior is I see proposals for the surrounding class (CompletionProblem).

If instead I change the code to instead use a different statement (eg: assignment) then I see the correct autocomplete proposals:

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions