brightcove / valerie

First class validation library for the JVM
Other
3 stars 0 forks source link

add GroovyDSL support for IDEA (etc.) #3

Closed mwhipple closed 7 years ago

mwhipple commented 8 years ago

https://confluence.jetbrains.com/display/GRVY/Scripting+IDE+for+DSL+awareness

mwhipple commented 8 years ago

Groovy provides a rich set of type checking help and an extension mechanism which should be preferred over anything IDE specific if it handles everything.

mwhipple commented 8 years ago

using could be potentially modified to match using(@DelegatesTo.Target Object checkers=new Checkers(), @DelegatesTo definition) and then custom checks could be added by extending Checkers and passing that as an argument using(myChecks) {..}

mwhipple commented 7 years ago

IntelliJ checking works with new signature/annotations