Intellij 14 GDSL

时间:2014-12-11 16:16:01

标签: groovy intellij-idea dsl intellij-14

任何人都对IntelliJ 14.0.2和Groovy DSL(GDSL)描述符有好运吗?

我们围绕IntelliJ 13的说明herehere模拟了我们的GDSL,它就像魅力一样。升级到14并且Groovy代码完成不再有效。围绕此功能的文档非常粗略,因此我们有点想法。

这是我们当前的GDSL,允许在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'
}

这位于src/test/groovy/expectationTransform.gdsl。 IntelliJ提示"激活后退"但它似乎没有做任何事情。

1 个答案:

答案 0 :(得分:3)

看起来像Groovy插件中的一个错误。有关详细信息,请参阅here

他说修补程序将作为Groovy插件的更新推送。