Files
oak-gpui/crates
Max Brunsfeld b594e59134 Lay some groundwork for language plugins (#3837)
This PR adds undocumented functionality for loading custom language
plugins at runtime. I don't intend to expose the functionality to end
users yet, but this will allow the team to test the capability
internally.

### Implementation

There isn't much new code in Zed. Most of the work here is within
Tree-sitter, in PRs https://github.com/tree-sitter/tree-sitter/pull/1864
and https://github.com/tree-sitter/tree-sitter/pull/2840, which allow
Tree-sitter to load languages from WASM blobs. I've tested the
functionality in Tree-sitter's test suite and via its CLI, but having it
wired into Zed allows us to test the functionality more fully.

### Details

Now, on startup, Zed will look for subdirectories inside of
`~/Application Support/plugins`. These subdirectories are expected to
look similar to the per-language subdirectories in
[`crates/zed2/src/languages`](https://github.com/zed-industries/zed/tree/main/crates/zed2/src/languages),
except that they also contain a `.wasm` file for the parser itself.

I'll add more details here as I go.
2024-01-03 09:37:42 -08:00
..
2023-11-14 08:28:57 -05:00
WIP
2023-12-05 19:27:15 +01:00
2023-11-17 12:54:16 -08:00
2024-01-02 17:02:53 -05:00
2024-01-02 14:29:21 -08:00
2023-12-05 14:57:20 +01:00
2023-12-11 12:28:22 +02:00
2023-11-02 19:18:01 -06:00
2024-01-02 13:18:56 +01:00
2024-01-01 23:52:07 +01:00
2023-12-25 03:36:54 -05:00
2023-12-13 10:47:32 -05:00
2023-12-13 10:47:32 -05:00
2023-11-30 13:07:47 +02:00
2024-01-02 00:04:51 +01:00
2023-06-02 22:02:19 -04:00
2023-12-28 19:22:43 +01:00
2023-11-29 11:52:26 +02:00
2023-12-12 13:34:46 +02:00
WIP
2023-08-10 10:26:48 -06:00
2024-01-02 00:24:11 +01:00
2023-12-11 12:28:22 +02:00
2023-12-11 12:28:22 +02:00
2024-01-01 23:56:04 +01:00
2024-01-02 20:34:18 -05:00
2024-01-02 17:02:53 -05:00
2023-12-12 18:54:35 -07:00
2023-12-22 20:23:55 -05:00
2024-01-02 17:02:53 -05:00
2023-12-13 14:14:03 -07:00