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
- sublime text
- Notepad ++
YAML Visual studio code
VSCode supports yaml language as inbuilt feature. these are integrated with
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
- yaml.validate - enable or disable validate contents of yaml file
and lot of other settings exists to support different configuration.