Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij 14 GDSL

Anyone have any luck with IntelliJ 14.0.2 and Groovy DSL (GDSL) descriptors?

We modeled our GDSL around the instructions here and here for IntelliJ 13 it worked like a charm. Upgraded to 14 and Groovy code completion no longer works. Documentation around this feature is pretty rough so we're kind of out of ideas.

Here's our current GDSL which allowed code completion in scripts like thing.POST.groovy:

def all = context(pathRegexp: '/.*\\.[A-Z]+\\.groovy', scope: scriptScope())

contributor(all) {
  property name: 'response', type: 'com.foo.HttpResponse'
  property name: 'request', type: 'com.foo.HttpRequest'
}

This lives in src/test/groovy/expectationTransform.gdsl. IntelliJ prompts to "Activate Back" but it doesn't seem to do anything.

like image 706
Stano Avatar asked Oct 20 '22 20:10

Stano


1 Answers

Looks like a bug in the Groovy plugin. See here for details.

He said the fix will be pushed as an update to the Groovy plugin.

like image 144
Stano Avatar answered Oct 22 '22 23:10

Stano