Groovy and IntelliLang

Language injection (through bundled IntelliLang) does not work for Groovy code (that calls the configured Java methods with a string literal argument).
It this:

  • even theoretically possible using current JetGroovy architecture?

  • actually planned to be supported (someday...)?


In addition, I'd be nice if I could inject SQL into some Groovy API method parameters.

0
Avatar
Permanently deleted user

Taras Tielkes wrote:

Language injection (through bundled IntelliLang) does not work for Groovy code (that calls the configured methods using a string literal).
It this

  • even theoretically possible using current JetGroovy implementation?

  • actually planned?


In addition, I'd be nice if I could inject SQL into some Groovy API method parameters.


Now Groovy's string literals don't support language injection, this
shouldn't be hard to implement. Then IntelliLang itself should either
know about Groovy PSI, or provide some API for Groovy to plug in. Two
JIRA issues, I think.

0

Ok, I've created two JIRA tickets:

"Support language injection for string literals":
http://www.jetbrains.net/jira/browse/GRVY-1633

"Support language injection for Groovy"
http://www.jetbrains.net/jira/browse/IDEA-18702

0

请先登录再写评论。