Skip to content

[bean completion proposals] autowire bean proposals do not show up before statements #1483

Closed
@martinlippert

Description

@martinlippert

It looks like if there are statements behind the cursor position, the autowire bean proposals do not show up:

public void foo() {
	this.<*>
	System.out.println("something");
}

It works just for empty bodies, e.g.:

public void foo() {
	this.<*>
}

and it seems to also work fine if there are statements before the cursor position, e.g.:

public void foo() {
	System.out.println("something");
	this.<*>
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions