# Support \`workspace/executeCommand\` for actions' data \(\#26239\) · gitcafe/zed

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

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

Visibility: public

Requested revision: af5af9d7c5ac6e93477ce23e46a3702d01dede94

Requested commit: af5af9d7c5ac6e93477ce23e46a3702d01dede94

Commit: af5af9d7c5ac6e93477ce23e46a3702d01dede94

Tree: b1ed8f5b762399f247e8646de8c322d2f849f51e

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Support `workspace/executeCommand` for actions' data (#26239)

Closes https://github.com/zed-industries/zed/issues/16746
Part of https://github.com/zed-extensions/deno/issues/2

Changes the action-related code so, that

* `lsp::Command` as actions are supported, if server replies with them
* actions with commands are filtered out based on servers'
`executeCommandOptions`
(https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#executeCommandOptions)
— commands that are not listed won't be executed and the corresponding
actions will be hidden in Zed

Release Notes:

- Added support of `workspace/executeCommand` for actions' data

---------

Co-authored-by: Peter Tripp <petertripp@gmail.com>
```

## Parents

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

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