Skip to content

Improve editor experience for @Grab dependencies with extension methods #1403

@eric-milles

Description

@eric-milles

Consider the following:

@Grab('org.codehaus.groovy:groovy-dateutil:2.5.18')
def date = new Date(), cal = date.toCalendar()

The groovy-dateutil module includes extension methods, including "toCalendar(Date)". As the script above is typed, it is common to see "toCalendar" indicated as unrecognized (underlined). The extension module cache needs to be updated when a library is grabbed.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions