Activating GroovyDSL according to the content of a file
Answered
Hi,
Lookign at the documentation here I see that I can activate a GroovyDSL according as example to a file type or file path: is there any way to activate it according to the file content ? i.e. I would like to do something like vim modelines so the GroovyDSL is activate only if a specific comment is present in the file.
Thx
Please sign in to leave a comment.
Context is a Class that takes map that then is checked on the number of pre-defined filters as described in documentation. You can check the source here. There is also an ElementPattern that it takes.
If there are question about how you could use it please feel free to as in Open API Community forum.