groovy / groovy/groovy-eclipse
Add support for instanceof keyword completion
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 681
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
"instanceof", "in", "!instanceof" (2.6+) and "!in" (2.6+) should be in content assist proposals for binary expressions.
def method(arg) {
def flag = arg i|
if (arg i|
}
Proposals should be available for at least the examples above, where | is the caret position.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the content-assist handling for binary expressions and reproduce the caret positions in the issue's Groovy examples. Add proposals for instanceof, in, !instanceof, and !in, then verify that completion is available at each shown position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100