ZIm/crates/zed
Max Brunsfeld 6edeea7c8a
Add logic for managing language and theme extensions (#7467)
This PR adds the initial support for loading extensions in Zed.

### Extensions Directory

Extensions are loaded from the extensions directory.

The extensions directory has the following structure:

```
extensions/
  installed/
    extension-a/
      grammars/
      languages/
    extension-b/
      themes/
  manifest.json
```

The `manifest.json` file is used internally by Zed to keep track of
which extensions are installed. This file should be maintained
automatically, and shouldn't require any direct interaction with it.

Extensions can provide Tree-sitter grammars, languages, and themes.

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
2024-02-07 15:14:50 -05:00
..
contents Fix bundle script 2023-11-17 17:44:41 -08:00
resources Re-enable language plugin functionality with some fixes (#7105) 2024-01-30 19:59:13 -08:00
src Add logic for managing language and theme extensions (#7467) 2024-02-07 15:14:50 -05:00
build.rs chore: Fix spurious rebuilds of Zed library and binary (#3952) 2024-01-08 20:46:35 +01:00
Cargo.toml Add logic for managing language and theme extensions (#7467) 2024-02-07 15:14:50 -05:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00
RELEASE_CHANNEL Put release channel back to dev 2023-11-17 14:31:49 -08:00