# Provide wasm extensions with APIs needed for using pre-installed LSP binaries \(\#9085\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8a6264d9339c5a94c7bdc5980770b0a76d2db14f

Requested commit: 8a6264d9339c5a94c7bdc5980770b0a76d2db14f

Commit: 8a6264d9339c5a94c7bdc5980770b0a76d2db14f

Tree: 04a5186e8b326095dcab3c2aa57fc2b1aeb656b3

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Provide wasm extensions with APIs needed for using pre-installed LSP binaries (#9085)

In this PR, we've added two new methods that LSP extensions can call:
* `shell_env()`, for retrieving the environment variables set in the
user's default shell in the worktree
* `which(command)`, for looking up paths to an executable (accounting
for the user's shell env in the worktree)

To test this out, we moved the `uiua` language support into an
extension. We went ahead and removed the built-in support, since this
language is extremely obscure. Sorry @mikayla-maki. To continue coding
in Uiua in Zed, for now you can `Add Dev Extension` from the extensions
pane, and select the `extensions/uiua` directory in the Zed repo. Very
soon, we'll support publishing these extensions so that you'll be able
to just install it normally.

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
```

## Parents

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

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