Tabs are objectively better than spaces - gomakethings.com - eviltoast
  • AnyOldName3@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    I’ve yet to find tooling that supports this. Clang format has a setting that looks like it does it, but actually does something else. If I have to press the spacebar a bunch of times each time I add an argument to a function, that’s a pain, and it’s a bigger pain to convince the people I’m working with that that pain’s less bad than using spaces everywhere and having the IDE deal with it.

    Until the people making editors and auto formatters acknowledge that the obvious most sensible whitespace style is even a thing, I’m forced to do something else and be really grumpy about it.

    • z3bra@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I understand your point of view. Personally I either copy the previous line and replace the arguments there, or insert X number of space using the repetition feature of my editor. It also has a feature that will align multiple cursors together with the “farthest” one using space, which is a killer feature for me! (See this presentation video @1:40).