Newbie's thoughts on YAML

I’ve done a bit of programming as an amateur in the past - ‘C’, Perl, PHP mainly, but not Python. When I had a quick look at Python I thought that the indentation to delineate code blocks was interesting, but had felt quite happy with bracketing, particularly with the programming modes provided with Emacs.
Now I’m using HA I’m having to get to grips with indentation, but am struggling a bit with the built in editor. I’ve now dug out Emacs and find that it has a Yaml mode and you can also install ‘indent-tools’ to provide indentation aids. Also ‘highlight-indentation’ looks particularly useful and is roughly equivalent to the ‘C’ mode that highlights matching brackets.
https://www.emacswiki.org/emacs/YamlMode

What do more experienced HA users think?
Jim

A lot here would recommend vscode, personally I use notepad++ in yaml mode. But if you know emacs, it is probably fine too.

I didn’t know that vscode was available for Linux. On principle I try to avoid MS products, free or otherwise.

Thanks for the comment.
Jim

1 Like