Re:Why the fuck are we templating YAML? (2019)
by wkat4242 on Tuesday January 23, 2024 @12:14PM
(#39106249)
I don't want that though, because then I still have to mess around with spaces when editing.
I actually like tabs for indenting levels especially because I can configure how far they indent on the fly.
Re:Why the fuck are we templating YAML? (2019)
by AlecSchueler on Tuesday January 23, 2024 @12:31PM
(#39106560)
My editor can also change the width of blocks of spaces on the fly, as well as navigating them in arbitray chunks.
Re:Why the fuck are we templating YAML? (2019)
by pdonis on Tuesday January 23, 2024 @05:52PM
(#39111101)
*> I still have to mess around with spaces when editing.
Not if your editor automatically indents and dedents with spaces. I find that to work just fine when editing Python code, for example. Tab is interpreted as "indent" and Backspace if you're at an indent stop is interpreted as "dedent".
Not if your editor can be configured to interpret a Tab keypress as the appropriate number of spaces. AFAIK all common text editors, at least in the Unix world, do this.