Jeena@jemmy.jeena.net to homeassistant@lemmy.worldEnglish · 1 year agoA lot of YAMLjemmy.jeena.netimagemessage-square18fedilinkarrow-up1218arrow-down118cross-posted to: programmer_humor@programming.dev
arrow-up1200arrow-down1imageA lot of YAMLjemmy.jeena.netJeena@jemmy.jeena.net to homeassistant@lemmy.worldEnglish · 1 year agomessage-square18fedilinkcross-posted to: programmer_humor@programming.dev
minus-squarelinearchaos@lemmy.worldlinkfedilinkEnglisharrow-up24·1 year agoAnd somewhere, deep in the recesses in millions and millions of lines in thousands and thousands of files… 4 spaces instead of a tab.
minus-squarelmaydev@lemmy.worldlinkfedilinkEnglisharrow-up4arrow-down2·1 year agoTabs would make so much more sense. 1 character per indent.
minus-squarelinearchaos@lemmy.worldlinkfedilinkEnglisharrow-up6·1 year agoTabs are always the intent but occasionally copy and paste makes fools of us all.
minus-squareVilian@lemmy.calinkfedilinkEnglisharrow-up1arrow-down1·1 year agowhy there isn’t a why to auto format it??
minus-squarelinearchaos@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoA proper ide would do it but it seems most of the places I’m writing yaml, proper IDEs aren’t available.
minus-squareMidnitte@kbin.sociallinkfedilinkarrow-up1·1 year agoTbf you could use the vs code addon (or extension)
And somewhere, deep in the recesses in millions and millions of lines in thousands and thousands of files… 4 spaces instead of a tab.
Tabs would make so much more sense. 1 character per indent.
Tabs are always the intent but occasionally copy and paste makes fools of us all.
why there isn’t a why to auto format it??
Should be your editor.
A proper ide would do it but it seems most of the places I’m writing yaml, proper IDEs aren’t available.
Tbf you could use the vs code addon (or extension)
or vim