Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
martinlippert opened this issue Feb 27, 2025 · 1 comment
Assignees
Labels

Comments

@martinlippert
Copy link
Member

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.<*>
}
@BoykoAlex
Copy link
Contributor

Should be fixed with 1630eb1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants