You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[bean completion proposals] need to polish result when invoking autowire bean completion inside of constructor #1484
I have a standard constructor and I am trying to use the autowire bean completion proposals:
public MyController() {
this.<*>
}
The proposals show up nicely. However, the result of applying the proposal could be slightly improved:
public MyController(TestBean1 testBean1) {
this.testBean1
this.testBean1 = testBean1;}
Here is what could be improved:
public MyController(TestBean1 testBean1) {
this.testBean1 <== this line is not necessary in this case
this.testBean1 = testBean1;} <== the closing bracket should be on the next line and the cursor should be at the end of this line I think
Activity
BoykoAlex commentedon Feb 28, 2025
Should work better now with 1238fec
(I suspect there are might be cases when bean completions are shown but shouldn't be shown TBD)