Properly register initialized default prettier (#33669)

Stop doing useless prettier-related work when doing a project search.

Before, project search might cause

<img width="1728" alt="not_pretty"
src="https://github.com/user-attachments/assets/5f8b935f-962d-488e-984f-50dfbaee97ba"
/>

but now we debounce the prettier-related task first, and actually set
the "installed" state for the default prettier, when there's no install
needed.

Release Notes:

- N/A
197828980cKirill Bulatov committed on 6/30/2025, 7:08:50 PM· committed by GitHubparent7c4da37
1 file changedLine totals unavailable