YAML Editor

YAML is a data representation language with syntax. Simple text editors, such as ‘notepad,’ create YAML documents. It is error-prone if the document’s content is changed manually in the editor.

Many editors support yaml with the following features.

  • Document validation
  • Formatting documents
  • Comparing the yaml files
  • Syntax highlight
  • Autocomplete

All the major editors support yaml language either inbuilt or via plugins

  • eclipse
  • Atom
  • IntelliJ
  • sublime text
  • Notepad ++
  • Brackets

yaml-language server uses yaml language as an inbuilt feature. VSCode. yaml extension enabled by default. During the opening of the file, all default options enable to true.

For example, to change default settings, Go to Language server settings for YAML

and change the following properties as per your needs

  • yaml.format.enable - This format the document or not
  • yaml.validate - enable or disable validate contents of the yaml file

A lot of other settings exists to support different configuration.