You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/07/15 09:27:36 UTC

[GitHub] [camel-k] lburgazzoli edited a comment on issue #1538: Publish yaml schema of design defintion on https://www.schemastore.org/json/

lburgazzoli edited a comment on issue #1538:
URL: https://github.com/apache/camel-k/issues/1538#issuecomment-658655991


   We had this discussion already and we added the modeline exactly for the reason to avoid having to add `.camelk.yaml|java|groovy|js|xml` and afaik, the camel-k support is already either triggered by the file name pattern or by the presence of `camel-k` in the modeline so imho, the support for the auto completion should work the same way and not requiring a different set-up.
   
   In camel-k the name of the file is used to determine the name of the integration so we would need to remove `.kamelk.*` which is not a huge issue but then it would become inconsistent and source of issues as i.e. a Java route named `MyIntegration.camelk.java` would trigger an error in the IDE as the name of the file is not the name of the class and in the code as then the use would need to code it's java bits in a different way.
   
   Also, modeline could be used to configure how to locate the schema of the dsl.


----------------------------------------------------------------
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