• redempt@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    3
    ·
    2 years ago

    why don’t we store code unformatted and have everybody’s IDE display it with their preferred format applied? it would make everything easier and stop people bickering over pointless things.

    • moomoomoo309@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Storing an AST would be interesting, but it’d require the IDE to support parsing each specific language, so you’d probably want something like an LSP but for just parsing to handle that.