SIGN IN SIGN UP

Fix formatters not running in order (#24584)

Previously, if multiple formatters were specified for the same language,
they would be run in parallel on the state of the file, and then all
edits would be applied. This lead to incorrect output with many unwanted
artifacts.
This PR refactors the formatting code to clean it up, and ensure results
from previous formatters are passed in to subsequent formatters.

Closes #15544

Release Notes:

- Fixed an issue where when running multiple formatters they would be
ran in parallel rather than sequentially, leading to unwanted artifacts
and incorrect output.

---------

Co-authored-by: Conrad <conrad@zed.dev>
B
Ben Kunkle committed
dab9c4179932f40792f8e1da0a11c0a09c89d41c
Parent: 1f288f7
Committed by GitHub <noreply@github.com> on 2/10/2025, 10:18:14 PM