Whats your favourite YAML/YML editor

1,751 views
Skip to first unread message

Owen Corcoran

unread,
May 1, 2017, 4:10:38 PM5/1/17
to Ansible Project
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

Josh Smift

unread,
May 1, 2017, 4:58:32 PM5/1/17
to ansible...@googlegroups.com
I use Emacs, and recently found https://github.com/yoshiki/yaml-mode; it
seems pretty good.

-Josh (j...@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.

Rajesh Martha

unread,
May 2, 2017, 1:32:47 PM5/2/17
to Ansible Project, j...@care.com
I use Microsoft Visual Studio Code, 

J Hawkesworth

unread,
May 2, 2017, 5:26:14 PM5/2/17
to Ansible Project
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

Paul Tötterman

unread,
May 3, 2017, 3:51:43 AM5/3/17
to Ansible Project
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.

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 

Fredrik Rambris

unread,
May 3, 2017, 4:08:19 AM5/3/17
to Ansible Project
I use SublimeText 3. It helps with indentation and has good syntax highlighting. Atom is another good editor I hear.

jean...@lenhof.eu.org

unread,
May 3, 2017, 5:05:28 AM5/3/17
to ansible...@googlegroups.com
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
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/101b8c0e-818e-4d03-a46a-db3db88b2eed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

J Hawkesworth

unread,
May 3, 2017, 2:21:05 PM5/3/17
to Ansible Project
Thanks for the set background=dark tip, I will give that a try.

Rodrigo

unread,
May 3, 2017, 6:44:18 PM5/3/17
to ansible...@googlegroups.com
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

2017-05-03 15:21 GMT-03:00 'J Hawkesworth' via Ansible Project <ansible...@googlegroups.com>:
Thanks for the set background=dark tip, I will give that a try.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c364a667-1b68-4938-9e7f-ece8e97e6599%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Att,
Rodrigo Rovere
Twitter: @rar_21

Mirko Friedenhagen

unread,
May 4, 2017, 12:30:53 PM5/4/17
to ansible-project
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
--
Sent from my mobile

Am 01.05.2017 22:10 schrieb "Owen Corcoran" <cype...@gmail.com>:
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

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages