groovy / groovy/groovy-eclipse

Add quick assist for moving trailing closure literal in/out of method call parentheses

Open
#496 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
681
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Allow for moving quickly between x.with({...}) and x.with {...}. Also x.meth(a,b,c,{...}) <-> x.meth(a,b,c) {...}. And maybe foo(bar:abc, baz:{...}) <-> foo(bar:abc) {...}.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named in the issue. Start by locating the Eclipse quick-assist implementation for Groovy method-call syntax and inspect existing tests for closure formatting or transformations. Done means supporting movement between trailing closure literals inside and outside parentheses for the shown simple, multi-argument, and named-argument cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.