ZIm/crates/collab/src
Tom Wieczorek 77df7e56f7
settings: Make external formatter arguments optional (#18340)
If specifying a formatter in the settings like this:

    "languages": {
      "foo": {
        "formatter": {
          "external": {
            "command": "/path/to/foo-formatter"
          }
        }
      }
    }

Zed will show an error like this:

    Invalid user settings file
    data did not match any variant of untagged enum SingleOrVec

This is because the arguments are not optional. The error is hard to
understand, so let's make the arguments actually optional, which makes
the above settings snippet valid.

Release Notes:

- Make external formatter arguments optional
2024-09-30 09:34:41 +03:00
..
api Fix collab filtering panics better (#18344) 2024-09-25 09:42:07 -06:00
bin Fix .env.toml paths (#15645) 2024-08-01 15:43:29 -04:00
db SSH Remoting: Fix bugs in worktree syncing (#18406) 2024-09-26 12:03:57 -07:00
llm Remove Qwen2 model (#18444) 2024-09-27 13:30:25 -04:00
rpc Remove old project search code path, bump min-supported zed version for collaboration (#18404) 2024-09-26 12:10:39 -07:00
tests settings: Make external formatter arguments optional (#18340) 2024-09-30 09:34:41 +03:00
api.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
auth.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
clickhouse.rs collab: Fix writing LLM rate limit events to Clickhouse (#16367) 2024-08-16 14:03:34 -04:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
env.rs collab: Add support for reading boolean values from .env.toml (#16317) 2024-08-15 17:07:17 -04: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 Remove Qwen2 model (#18444) 2024-09-27 13:30:25 -04:00
llm.rs Remove Qwen2 model (#18444) 2024-09-27 13:30:25 -04:00
main.rs chore: Another round of style lints fixes (#17519) 2024-09-07 02:36:55 +02:00
migrations.rs collab: Remove unused parameter to run_database_migrations (#15883) 2024-08-06 17:31:52 -04:00
rate_limiter.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
rpc.rs Remove old project search code path, bump min-supported zed version for collaboration (#18404) 2024-09-26 12:10:39 -07:00
seed.rs collab: Seed GitHub users from static data (#18301) 2024-09-24 16:35:09 -04:00
tests.rs Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
user_backfiller.rs collab: Require github_user_created_at at ingress points (#17180) 2024-08-30 17:09:59 -04:00