apupier commented on issue #1538: URL: https://github.com/apache/camel-k/issues/1538#issuecomment-658643909
> is the auto completion triggered also by the modeline or it is required to use the .camelk.yaml suffix for file names ? the yaml schema specification is working only based on the file name patterns. it would be possible to dynamically assign the schema based on the modeline but it would require to implement it in each IDE we want to support. Allowing to specify the schema inside the data file would allow standalone files without relying on filename but it is not part of the specification priorities: https://github.com/json-schema-org/json-schema-spec/issues/828 Can you precise the use case of not using `*.camelk.yaml`? From my little knowledge of Yaml, it seems that Kubernetes world is the only major one that doesn't enforce file name pattern (which is causing a lot of troubles in various IDEs for supporting it). Usually, when yaml is used, a file name pattern is expected. ---------------------------------------------------------------- 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]
