redhat-developer / vscode-java

Java Language Support for Visual Studio Code
Eclipse Public License 2.0
2.08k stars 441 forks source link

Add 'removeUnusedLambdaParameters' to the cleanup settings. #3856

Closed rgrunber closed 1 week ago

rgrunber commented 1 week ago

Calling it lambda parameters seems a little odd, given it also supports unused pattern variables but I think we can live with this for now. Calling it "unusedLocalVariable" based on the naming in JDT seems a bit too confusing given that it doesn't rename all types of unused local variables.

iwangbowen commented 1 week ago

Great feature