apupier commented on issue #1538: URL: https://github.com/apache/camel-k/issues/1538#issuecomment-658769058
> > > so imho, the support for the auto completion should work the same way and not requiring a different set-up. > > > > > > The support of auto-completion relies on the Json schema specification and the Yaml Language Server. It is not related to the Camel language Server. > > Referencing the schema from the file itself would be the correct way to do it but currently the [Json Schema specification doesn't specify it](https://github.com/json-schema-org/json-schema-spec/issues/828) and the [Yaml Language Server is not allowing it](https://github.com/redhat-developer/yaml-language-server/issues/204). > > The Json schemastore and all toolings relies on file pattern association. > > I never said that it should not follow that path but as we also have the modeline to help understanding that we are dealing with a camel-k dsl, then I don't see why we can't re-use it so the experience would be consistent. Reusing the current Camel K modeline means either developing specific code in each IDEs clients or to include specific Camel K code in Yaml language Server. None of that is a good solution on middle and long term. ---------------------------------------------------------------- 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]
