ZIm/crates/zed
Marshall Bowers 315a92091b
Ensure Edit Prediction provider is properly assigned on sign-in (#35885)
This PR fixes an issue where Edit Predictions would not be available in
buffers that were opened when the workspace loaded.

The issue was that there was a race condition between fetching/setting
the authenticated user state and when we assigned the Edit Prediction
provider to buffers that were already opened.

We now wait for the event that we emit when we have successfully loaded
the user in order to assign the Edit Prediction provider, as we'll know
the user has been loaded into the `UserStore` by that point.

Closes https://github.com/zed-industries/zed/issues/35883

Release Notes:

- Fixed an issue where Edit Predictions were not working in buffers that
were open when the workspace initially loaded.

Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2025-08-08 18:10:09 +00:00
..
contents Fix bundle script 2023-11-17 17:44:41 -08:00
resources Update nightly icon on windows (#35812) 2025-08-07 21:47:16 -07:00
src Ensure Edit Prediction provider is properly assigned on sign-in (#35885) 2025-08-08 18:10:09 +00:00
build.rs Fix icon size on Windows (#34277) 2025-07-11 15:09:10 +02:00
Cargo.toml Bump Zed to v0.200 (#35719) 2025-08-06 13:11:46 +00:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00
RELEASE_CHANNEL Restore the default release channel (#23671) 2025-01-26 09:19:24 +00:00