# Extract \`ContextEditor\` to \`assistant_context_editor\` \(\#23433\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/417760ade7c9c692c6d1cd6494afce5109b17583)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 417760ade7c9c692c6d1cd6494afce5109b17583

Requested commit: 417760ade7c9c692c6d1cd6494afce5109b17583

Commit: 417760ade7c9c692c6d1cd6494afce5109b17583

Tree: 2fde83984c210f383ffba5883ed9a9a8075484cb

Author: Marshall Bowers

Committer: GitHub

## Message

```
Extract `ContextEditor` to `assistant_context_editor` (#23433)

This PR extracts the `ContextEditor` to the `assistant_context_editor`
crate.

As part of this, we have decoupled the `ContextEditor` from the
`AssistantPanel`.

There is now an `AssistantPanelDelegate` that the `ContextEditor` uses
when it needs to interface with the Assistant panel.

Release Notes:

- N/A
```

## Parents

- [9a7f1d1de426b15e527d803305e32c25fe5702ea](https://git.cafe/gitcafe/zed/commit/9a7f1d1de426b15e527d803305e32c25fe5702ea?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/417760ade7c9c692c6d1cd6494afce5109b17583?format=markdown)
