You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/06/18 15:27:10 UTC
[GitHub] [camel-k-runtime] lburgazzoli commented on issue #83: Experimental
IDE auto-completion using grape
lburgazzoli commented on issue #83: Experimental IDE auto-completion using grape
URL: https://github.com/apache/camel-k-runtime/pull/83#issuecomment-503186792
There is class IntegrationConfiguration that you should extend to properly extend the dsl otherwhise you may introduce conflicts
```
@Grab("org.apache.camel.k:camel-k-runtime-groovy:1.0.0-SNAPSHOT")
import static org.apache.camel.k.groovy.Builder.*
body()
```
The way to make IDE aware of the scripting for Idea should be this one:
https://confluence.jetbrains.com/display/GRVY/Scripting+IDE+for+DSL+awareness
I'm not very sure about let people add grape's annotations in the script as it could be misleading as grape is in fact not enabled so the annotations have no meaning at runtime.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services