# Reapply "Use Project instead of Workspace in ContextStore \(\#28402\)" \(\#28441\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9f6c5e2877c74346a92728c36fc4f62e1a464404

Requested commit: 9f6c5e2877c74346a92728c36fc4f62e1a464404

Commit: 9f6c5e2877c74346a92728c36fc4f62e1a464404

Tree: 9e229aef68b45f5355e6b253dcdefa163d9be8af

Author: Michael Sloan

Committer: GitHub

## Message

```
Reapply "Use Project instead of Workspace in ContextStore (#28402)"  (#28441)

Motivation for this change is to use `ContextStore` in headless
assistant, which requires it to not depend on UI entities like
`Workspace`.

This reapplies a change that was revert was in #28428, and fixes the panic.

Release Notes:

- N/A
```

## Parents

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

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