# Whats your favourite YAML/YML editor

**URL:** <https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367>\
**Category:** Ansible Project\
**Created:** [May 1, 2017, 8:10pm UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367 "2017-05-01T20:10:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Owen\_Corcoran](https://avatars.discourse-cdn.com/v4/letter/o/977dab/32.png) [@Owen\_Corcoran](https://forum.ansible.com/u/Owen_Corcoran)\
**Post date:** [May 1, 2017, 8:10pm UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/1 "2017-05-01T20:10:38Z")

</div>

Just wondering what everyone uses to edit/develop there YAML/YML scripts and if any editors have built in SYNTAX highlighting/debug for assisting in catching indention issues.

Owen

---

<div class="post-metadata">

**Author:** ![Josh\_Smift1](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Post date:** [May 1, 2017, 8:57pm UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/2 "2017-05-01T20:57:57Z")

</div>

I use Emacs, and recently found [https://github.com/yoshiki/yaml-mode](https://github.com/yoshiki/yaml-mode); it  
seems pretty good.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Josh (jbs@care.com)

(apologies for the automatic corporate disclaimer that follows)

This email is intended for the person(s) to whom it is addressed and may contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use, distribution, copying, or disclosure by any person other than the addressee(s) is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email and delete the message and any attachments from your system.

---

<div class="post-metadata">

**Author:** ![Raj\_Martha](https://avatars.discourse-cdn.com/v4/letter/r/e9bcb4/32.png) [@Raj\_Martha](https://forum.ansible.com/u/Raj_Martha)\
**Post date:** [May 2, 2017, 5:32pm UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/3 "2017-05-02T17:32:47Z")

</div>

I use Microsoft Visual Studio Code,  
[https://code.visualstudio.com/](https://code.visualstudio.com/)

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [May 2, 2017, 9:26pm UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/4 "2017-05-02T21:26:14Z")

</div>

Bash on windows's vi (basically Ubuntu) does yaml syntax highlighting out of the box, althoughi find it a lot easier to read if you change the text to black and the background to white. Notepad++ also yaml aware. Sometimes I use yamllint.com too.

Jon

---

<div class="post-metadata">

**Author:** ![Paul\_Totterman](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Paul\_Totterman](https://forum.ansible.com/u/Paul_Totterman)\
**Post date:** [May 3, 2017, 7:51am UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/5 "2017-05-03T07:51:43Z")

</div>

> Bash on windows’s vi (basically Ubuntu) does yaml syntax highlighting out of the box, althoughi find it a lot easier to read if you change the text to black and the background to white. Notepad++ also yaml aware. Sometimes I use [yamllint.com](http://yamllint.com) too.

Is it easier to read because of the white background or because of the syntax highlighting colours not really being visible against a dark background? vim has an option for dark background: set background=dark , which helps a lot when I use a terminal emulator with a dark background.

Cheers,  
Paul

---

<div class="post-metadata">

**Author:** ![Fredrik\_Rambris](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@Fredrik\_Rambris](https://forum.ansible.com/u/Fredrik_Rambris)\
**Post date:** [May 3, 2017, 8:08am UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/6 "2017-05-03T08:08:19Z")

</div>

I use SublimeText 3. It helps with indentation and has good syntax highlighting. Atom is another good editor I hear.

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [May 3, 2017, 9:05am UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/7 "2017-05-03T09:05:06Z")

</div>

I use vim which has good syntax highliting (using yaml with doublecolon, not equal to have good highliting, not a problem because it is the prefered way to write yaml)

Regards,

JYL

3 mai 2017 10:09 “Fredrik Rambris” \<fredrik@rambris.com\> a écrit:

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [May 3, 2017, 6:21pm UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/8 "2017-05-03T18:21:05Z")

</div>

Thanks for the set background=dark tip, I will give that a try.

---

<div class="post-metadata">

**Author:** ![Rodrigo](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@Rodrigo](https://forum.ansible.com/u/Rodrigo)\
**Post date:** [May 3, 2017, 10:43pm UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/9 "2017-05-03T22:43:35Z")

</div>

Hello Guys,

I am using Atom, however I would like to know if have good package to compile YAML and good package to make syntax validation.

Is there any package are using will be good tips?

Rodrigo

---

<div class="post-metadata">

**Author:** ![Mirko\_Friedenhagen](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@Mirko\_Friedenhagen](https://forum.ansible.com/u/Mirko_Friedenhagen)\
**Post date:** [May 4, 2017, 4:30pm UTC](https://forum.ansible.com/t/whats-your-favourite-yaml-yml-editor/24367/10 "2017-05-04T16:30:45Z")

</div>

Hello there,

there is a Ansible plugin for IntelliJ (community edition is sufficient) which even has a rudimentary navigation capability, so you may directly navigate to included roles (does not work for nested roles, however).

Regards  
Mirko
