# toolchain: Respect currently focused file when querying toolchains \(\#28875\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5c2c6d7e5ed83657f4b0aa21ed6616725473eba5

Requested commit: 5c2c6d7e5ed83657f4b0aa21ed6616725473eba5

Commit: 5c2c6d7e5ed83657f4b0aa21ed6616725473eba5

Tree: 7805175137324e31660e681afa233e9eb2c0eec1

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
toolchain: Respect currently focused file when querying toolchains (#28875)

Closes #21743


https://github.com/user-attachments/assets/0230f233-58a4-494c-90af-28ce82f9fc1d


Release Notes:

- Virtual environment picker now looks up virtual environment based on
parent directory of active file; this enables having multiple active
virtual environments in a single worktree.
```

## Parents

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

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