zed/crates/tab_switcher
Remco Smits 3c404dec92
Send pane removeItem event before removing the item (#15541)
This PR renames and added a new pane event to indicate the difference
between `removing` and `removed` event. This change is needed for the
debugger implementation, if you close a pane we have to send a
`terminateThread` request to the adapter because it's not supported to
reopen a pane. So when the pane is removing we have to know what thread
it is what is stored on the panel itself, so we have to be able to get
this information before the pane is actually removed.

So my idea how to fix this was by adding a new event called
`RemovedItem` which is a rename of `RemoveItem` which also makes a bit
more sense because the item is removed at that point. And seeing the
name `RemoveItem` does not really say that it's removed, more like we
are removing the item.

/cc @mikayla-maki

Release Notes:

- N/A
2024-07-31 08:48:19 -07:00
..
src Send pane removeItem event before removing the item (#15541) 2024-07-31 08:48:19 -07:00
Cargo.toml tab_switcher: Add support for tab switcher in assistant panel (#15475) 2024-07-30 13:32:13 +02:00
LICENSE-GPL Add tab switcher (#7987) 2024-03-27 11:15:08 -07:00