ZIm/crates/semantic_index/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
..
db.rs Enable clippy::needless_question_mark (#8759) 2024-03-02 23:40:39 -05:00
embedding_queue.rs Remove 2 suffix for fs, db, semantic_index, prettier 2024-01-03 12:09:42 -08:00
parsing.rs Use collections::{HashMap, HashSet} instead of its std:: counterpart (#7502) 2024-02-07 19:06:03 +02:00
semantic_index.rs Add a setting for custom associations between languages and files (#9290) 2024-03-13 10:23:30 -07:00
semantic_index_settings.rs Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
semantic_index_tests.rs Add a setting for custom associations between languages and files (#9290) 2024-03-13 10:23:30 -07:00