Intellij IDEA-Grails GDSL Not Working
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:
- Created a myDef.gdsl file in my project home(i.e. in the folder
that containg grails-app, web-app etc) -
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:
- Idea Version: 107.535
.
Please sign in to leave a comment.
Kushal, I've replied to you at http://stackoverflow.com/questions/8429117/intellij-idea-grails-gdsl-not-working
Oh Yeah,, Got It thanks.. :)