ZIm/crates/collab/src
Bennet Bo Fenner 20625e98ad
preview tabs: Allow replacing preview tab when using code navigation (#10730)
This PR adds support for replacing the current preview tab when using
GoToDefinition. Previously a tab, that was navigated away from, was
converted into a permanent tab and the new tab was opened as preview.

Without `enable_preview_from_code_navigation`:


https://github.com/zed-industries/zed/assets/53836821/99840724-d6ff-4738-a9c4-ee71a0001634

With `enable_preview_from_code_navigation`:


https://github.com/zed-industries/zed/assets/53836821/8c60efcb-d597-40bf-b08b-13faf5a289b6

Note: In the future I would like to improve support for the navigation
history, because right now tabs that are not "normal" project items,
e.g. FindAllReferences cannot be reopened

Release Notes:

- Added support for replacing the current preview tab when using code
navigation (`enable_preview_from_code_navigation`)
2024-04-29 20:47:01 +02:00
..
api Send installation id with crashes (#11032) 2024-04-25 21:07:06 -06:00
bin Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
db remote projects per user (#10594) 2024-04-23 15:33:09 -06:00
rpc remote projects per user (#10594) 2024-04-23 15:33:09 -06:00
tests preview tabs: Allow replacing preview tab when using code navigation (#10730) 2024-04-29 20:47:01 +02:00
ai.rs New revision of the Assistant Panel (#10870) 2024-04-23 16:23:26 -07:00
api.rs Allow setting a channel for new users to auto-join (#9291) 2024-03-13 11:11:31 -06:00
auth.rs WIP: remoting (#10085) 2024-04-11 15:36:35 -06:00
db.rs remote projects per user (#10594) 2024-04-23 15:33:09 -06:00
env.rs Add an extensions API to the collaboration server (#7807) 2024-02-15 12:53:57 -08:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
lib.rs Enable Claude 3 models to be used via the Zed server if "language-models" feature flag is enabled for user (#10015) 2024-03-31 15:57:57 -06:00
main.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
rate_limiter.rs Allow AI interactions to be proxied through Zed's server so you don't need an API key (#7367) 2024-03-19 19:22:26 +01:00
rpc.rs New revision of the Assistant Panel (#10870) 2024-04-23 16:23:26 -07:00
seed.rs Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
tests.rs WIP: remoting (#10085) 2024-04-11 15:36:35 -06:00