Jeena@jemmy.jeena.net to homeassistant@lemmy.worldEnglish · 2 年前A lot of YAMLjemmy.jeena.netimagemessage-square18fedilinkarrow-up1216arrow-down117
arrow-up1199arrow-down1imageA lot of YAMLjemmy.jeena.netJeena@jemmy.jeena.net to homeassistant@lemmy.worldEnglish · 2 年前message-square18fedilink
minus-squarelinearchaos@lemmy.worldlinkfedilinkEnglisharrow-up24·2 年前And 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·2 年前Tabs would make so much more sense. 1 character per indent.
minus-squarelinearchaos@lemmy.worldlinkfedilinkEnglisharrow-up6·2 年前Tabs are always the intent but occasionally copy and paste makes fools of us all.
minus-squareVilian@lemmy.calinkfedilinkEnglisharrow-up1arrow-down1·2 年前why there isn’t a why to auto format it??
minus-squarelinearchaos@lemmy.worldlinkfedilinkEnglisharrow-up1·2 年前A 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·2 年前Tbf 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