groovy / groovy/groovy-eclipse

Add support for code browsing and content assist of Grapes (aka @Grab dependencies)

Open
#345 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'd like to propose to reconsider #236, that is: make some integration of the Grape dependency manager with the Groovy plug-in.

Grape is great and it makes Groovy very practical for writing quick scripts, prototypes, etc. However, it is also very impractical to use it, without some integration with Eclipse.

While I understand the problem of multiple classpaths associated by multiple scripts in the same project, there are reasonable solutions to that, e.g., - merging all the declaration and notifying the user of possible conflicts - manual right-click on a @Grab annotation to include the corresponding dependency to the project classpath.

As it stands now, the Groovy plug-in is of little use to me, without this feature (and consequently, so is Groovy).

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

Start by reviewing the related issue #236 and the Groovy plug-in's existing handling of Grape and @Grab dependencies. Determine how code browsing and content assist should account for dependencies declared by multiple scripts, including the proposed conflict and manual-inclusion approaches. Done means the Eclipse integration supports the requested dependency-aware browsing and assist behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.