liuderchi / ide-yaml

:atom: Atom-IDE support for YAML language
https://atom.io/packages/ide-yaml
20 stars 7 forks source link

Autocomplete according to Schema. #56

Open sladyn98 opened 4 years ago

sladyn98 commented 4 years ago

I have a json schema file called jcasc.schema according to which I want to autocomplete my yaml file. Redhats VScode yaml extension provides something like this: https://github.com/redhat-developer/vscode-yaml yaml.schemaStore.enable: When set to true the YAML language server will pull in all available schemas from JSON Schema Store yaml.completion: Enable/disable autocompletion yaml.schemas: Helps you associate schemas with files in a glob pattern

sladyn98 commented 4 years ago

CC @liuderchi . Does this plugin provide such a thing for atom ? Because I cannot quite understand how to do it.?

liamschn commented 4 years ago

+1 I am also trying to figure out how to use yaml.schemas. Does this allow this functionality as described in yaml-language-server (https://github.com/redhat-developer/yaml-language-server)?