eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

Completion does not work for pattern matching

Open
#242 2 comments 0 reactions 1 assignee Claimed by @vik-chand View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
22h 47m
Merged PRs (30d)
28

Description

In the snippet below, with cursor at the position, the proposals show up valid, but does not complete (e.g. selecting 'String', it does not add the missing 'g'):

````java
private void func( Object o ) {
if (o instanceof @NonNull Strin| text) {
}
}
````

When the annotation is not present, it works as expected.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.