• flashgnash@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    That does sound nice to me too. I’ve found prettier with format on save works pretty well but that means you have to set it up in every editor

    • RustyNova@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      Format on save is a godsend. Copy paste something with whole indentation? Ctrl-s, it’s back to normal. Did some wacky nested anonymous function calls? Ctrl-s, and they’re laid out nicely.

      • GissaMittJobb@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        I honestly almost golf my code nowadays and just let the tooling fix formatting for me. The space bar and enter key are in an ideal world vestigial for the purposes of programming.