YAML - Editors

This tutorial covers YAML Editors supported in different editors and operationg systems -, Visual Studio code,atom,sublime text, windows, MAC and MAC.

YAML Editor

YAML is a data representation language with syntax. YAML documents can be created with simple text editor like notepad. adding and removing content in documents is error prone if done manually with simple editors.

There are lot of editors supported yaml with following features

  • Document validation
  • Formatting documents
  • Comparing the yaml files
  • Syntax highlight
  • Auto complete to

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

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

YAML Visual studio code

VSCode supports yaml language as inbuilt feature. these are integrated with yaml-language server. this will enabled by default with file extension - yaml. Once file is opened, all default settings are enabled.

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

and change following properties as per your needs

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

and lot of other settings exists to support different configuration.