Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Only add parentheses for lambda expression completions with multiple parameters #2100

Closed
gayanper opened this issue May 24, 2022 · 2 comments

Comments

@gayanper
Copy link
Contributor

The completion suggestions for lambda actually adds parathesis for single parameters today. Only add the parentheses when there are multiple parameters for lambda expression.

@jdneo
Copy link
Contributor

jdneo commented May 30, 2022

Looks like in both Eclipse and IntelliJ will only add parentheses when the parameter number is larger than 1. And I didn't find a setting to control that behavior. (Correct me if I'm wrong)

If this is true, we can follow the same behavior.

@gayanper
Copy link
Contributor Author

Fixed by #2243

@fbricon fbricon added this to the End September milestone Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants