I tried to use GDSL Scripts for my grails project in IDEA.
I tried things as shown in the Guide: GDSL Guide
The Steps I followed were:
In that file i added this code:
def ctx2 = context(ctype: "com.myPackage.MyClass")
contributor(ctx2) {
method(name: 'withLock', type: 'void', params: [closure: { }])
}
Clicked on Activate.
But it still does not show any autocomplete or recognise when i do:
Myclass m = new MyClass()
m.withLock() //This is not recognised
Anything i am doing wrong??? ![]()
Details:
.
Kushal, I've replied to you at http://stackoverflow.com/questions/8429117/intellij-idea-grails-gdsl-not-working
Oh Yeah,, Got It thanks.. ![]()