【问题标题】:Intellij 14 GDSLIntellij 14 GDSL
【发布时间】:2014-12-11 16:16:01
【问题描述】:

有人对 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 提示“激活返回”,但它似乎没有做任何事情。

【问题讨论】:

标签: groovy intellij-idea dsl intellij-14


【解决方案1】:

看起来像是 Groovy 插件中的一个错误。详情请见here

他说修复将作为 Groovy 插件的更新推送。

【讨论】:

    猜你喜欢
    • 2023-03-29
    • 1970-01-01
    • 1970-01-01
    • 2017-04-25
    • 1970-01-01
    • 2016-02-09
    • 1970-01-01
    • 2015-01-12
    • 2015-09-11
    相关资源
    最近更新 更多