eclipse-jdt / eclipse-jdt/eclipse.jdt.core
Missing completion proposal while completing on the name of pattern binding variable in some scenarios
Open
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
```
LocalVariableBinding local = methodArgument instanceof Argument blah ? bla| Arrays.stream(scope.locals)
.filter(Objects::nonNull)
.filter(LocalVariableBinding::isParameter)
.filter(parameter -> CharOperation.equals(parameter.name, methodArgument.name))
.findFirst()
.orElse(null);
```
I am at the `bla|` after `methodArgument instanceof Argument blah ?`
Completion does not recognize that I am trying to complete on the name of the pattern binding variable `blah`
Contributor guide
Assessment
This issue has not been assessed yet.