dylanenabled opened a new issue #1425: URL: https://github.com/apache/camel-k/issues/1425
Sorry if this is not the appropriate place to ask this, please direct me to somewhere better if not. This is a bit of a feature request, but it'd be nice if `kamel` generated the necessary intellij iml files etc to add the camel-core, etc libraries (including detected ones based on the source) to intellij for autocomplete. I've set it up manually for now and it works if I create a RouteBuilder class as it doesn't load the global `from` functions - I have to do `context.addRoutes` for the routes to be found in the integration. ``` kotlin context.addRoutes(MyRoutes()) ``` However `intellij` things this is an error because `context is not defined globally. Is there a way to get Intellij to understand the global context and from (and so on) functions for kotlin script? I found this https://discuss.kotlinlang.org/t/make-auto-completion-work-in-kotlin-scripts-with-context/10185/11 but couldn't get it to work. ---------------------------------------------------------------- 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: [email protected]
