eclipse-jdt / eclipse-jdt/eclipse.jdt.core
Content assist - Java proposal : Print types in lambdas
Open
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
Hi guys,
When using lambdas, in a stream for example, the content assist - Java proposal propose `([Type] t) -> :` but when selected it prints only `t ->`.
Could it be possible to also print the type (for example `(String t) ->`, with an another proposal ?
One reason could be when using lambdas on maps, it's not always easy to read it (especially when we use only one letter for the key and the value).
Another reason could be a Sonar rule [https://rules.sonarsource.com/java/RSPEC-2211](https://rules.sonarsource.com/java/RSPEC-2211) activated in some projects..
Thanks.
Florent
Contributor guide
Assessment
This issue has not been assessed yet.