ZIm/crates/extension_host/src
Marshall Bowers f53915c711
Add infrastructure for loading icon themes from extensions (#23203)
This PR adds the supporting infrastructure to support loading icon
themes defined by extensions.

Here's an example icon theme:

```json
{
  "name": "My Icon Theme",
  "author": "Me <me@example.com>",
  "themes": [
    {
      "name": "My Icon Theme",
      "appearance": "dark",
      "file_icons": {
        "gleam": { "path": "./icons/file_type_gleam.svg" },
        "toml": { "path": "./icons/file_type_toml.svg" }
      }
    }
  ]
}
```

The icon paths are resolved relative to the root of the extension
directory.

Release Notes:

- N/A
2025-01-15 23:33:47 +00:00
..
wasm_host Factor tool definitions out of assistant (#21189) 2024-11-25 18:26:34 -05:00
extension_host.rs Add infrastructure for loading icon themes from extensions (#23203) 2025-01-15 23:33:47 +00:00
extension_settings.rs Rename extension crate to extension_host (#20081) 2024-11-01 12:53:02 -04:00
extension_store_test.rs Add infrastructure for loading icon themes from extensions (#23203) 2025-01-15 23:33:47 +00:00
headless_host.rs Add language icons to the language selector (#21298) 2024-12-02 15:01:09 -03:00
wasm_host.rs Overhaul extension registration (#21083) 2024-11-22 19:02:32 -05:00