ZIm/crates/collab/src
Max Brunsfeld 724c19a223
Add a setting for custom associations between languages and files (#9290)
Closes #5178

Release Notes:

- Added a `file_types` setting that can be used to associate languages
with file names and file extensions. For example, to interpret all `.c`
files as C++, and files called `MyLockFile` as TOML, add the following
to `settings.json`:

    ```json
    {
      "file_types": {
        "C++": ["c"],
        "TOML": ["MyLockFile"]
      }
    }
    ```

As with most zed settings, this can be configured on a per-directory
basis by including a local `.zed/settings.json` file in that directory.

---------

Co-authored-by: Marshall <marshall@zed.dev>
2024-03-13 10:23:30 -07:00
..
api When fetching extensions from blob store, don't halt on invalid extensions. (#9241) 2024-03-12 16:36:40 -04:00
bin Allow setting a channel for new users to auto-join (#9291) 2024-03-13 11:11:31 -06:00
db Allow setting a channel for new users to auto-join (#9291) 2024-03-13 11:11:31 -06:00
rpc Enable clippy::map_flatten (#8733) 2024-03-02 18:24:22 -05:00
tests Add a setting for custom associations between languages and files (#9290) 2024-03-13 10:23:30 -07:00
api.rs Allow setting a channel for new users to auto-join (#9291) 2024-03-13 11:11:31 -06:00
auth.rs Migrate from scrypt to sha256. (#8969) 2024-03-06 20:51:43 -07:00
db.rs hosted projects (#8627) 2024-03-04 19:17:40 -07:00
env.rs Add an extensions API to the collaboration server (#7807) 2024-02-15 12:53:57 -08:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
lib.rs Allow setting a channel for new users to auto-join (#9291) 2024-03-13 11:11:31 -06:00
main.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
rpc.rs Fix joining hosted projects (#9038) 2024-03-07 19:56:41 -07:00
tests.rs Add initial support for defining language server adapters in WebAssembly-based extensions (#8645) 2024-03-01 16:00:55 -08:00