# json: Register tasks on Rust side and not via tasks.json \(\#12345\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 345361cd38ddb2196f8a4bbfbe279b836a965c95

Requested commit: 345361cd38ddb2196f8a4bbfbe279b836a965c95

Commit: 345361cd38ddb2196f8a4bbfbe279b836a965c95

Tree: d141658aa19f337d9d2f64f072ba92dceb5f042d

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
json: Register tasks on Rust side and not via tasks.json (#12345)

/cc @RemcoSmitsDev new task indicators weren't showing for me in JSON
files.
`tasks.json` of native grammars is not being read by anything by
default, so we tend to register tasks as Rust structs, foregoing the
deserialization step. This doesn't apply to tasks registered in
extensions, which have to have tasks.json.

Release Notes:

- N/A
```

## Parents

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

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