groovy / groovy/groovy-eclipse
Add support for code hover/select of method name with spaces, etc.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 681
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Consider the following:
def "some method name for whatever reason"() {
}
Code hover/select (F2/F3) should treat entrie method name string as one entity. Currently selection has been disabled in org.codehaus.groovy.eclipse.codebrowsing.requestor.CodeSelectHelper.isStringLiteral(ASTNode, char[], int, int). With the extra clause removed from "isStringLiteral", selection takes place on individual words of the method name only.
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 in org.codehaus.groovy.eclipse.codebrowsing.requestor.CodeSelectHelper, especially isStringLiteral(ASTNode, char[], int, int), and inspect the surrounding code-browsing behavior. Reproduce the quoted Groovy method-name case with F2/F3 and verify that the entire method name is selected as one entity rather than individual words.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100