zed/crates
Bae Seokjae c1907c94d2
json_schema_store: Include available LSP adapters in settings schema (#46766)
Closes #46556

  ## Summary

- Fix "Property `ty` is not allowed" warning in `settings.json` for LSP
adapters registered via `register_available_lsp_adapter()`
- Add `available_lsp_adapter_names()` method to include these adapters
in schema generation
- Support `initialization_options` schema lookup for available adapters

  ## Problem

LSP adapters registered via `register_available_lsp_adapter()` were not
included in the settings JSON schema. This caused validation warnings
like:

  Property ty is not allowed

Even though `ty` is a built-in Python language server that works
correctly.

  **Affected adapters:**
  - `ty`, `py`, `python-lsp-server`
  - `eslint`, `vtsls`, `typescript-language-server`
  - `tailwindcss-language-server`, `tailwindcss-intellisense-css`

  ## Solution

  Schema generation now queries both:
  1. `all_lsp_adapters()` - adapters bound to specific languages
2. `available_lsp_adapter_names()` - adapters enabled via settings (new)

  Related: #43104, #45928 
  
  Release Notes:

- Fixed an issue where not all LSP adapters would be suggested for
completion, or recognized as valid in `settings.json`

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
2026-02-12 09:58:38 -05:00
..
acp_thread Replace always_allow_tool_actions with tool_permissions.default (#48553) 2026-02-10 18:57:31 -05:00
acp_tools ui: Improve performance in the CopyButton component (#47292) 2026-01-21 13:40:42 -03:00
action_log git: Side-by-side diff UI (#47349) 2026-01-22 02:31:14 -05:00
activity_indicator workspace: Move the update Zed button to the title bar (#48467) 2026-02-10 16:03:46 -03:00
agent agent: Sanitize MCP server IDs in tool name disambiguation (#45789) 2026-02-12 14:43:14 +00:00
agent_servers Replace always_allow_tool_actions with tool_permissions.default (#48553) 2026-02-10 18:57:31 -05:00
agent_settings Replace always_allow_tool_actions with tool_permissions.default (#48553) 2026-02-10 18:57:31 -05:00
agent_ui agent_ui: Add some UI tweaks to the subagents thread (#49030) 2026-02-12 14:58:21 +00:00
agent_ui_v2 agent: Move subagent spawning to ThreadEnvironment (#48381) 2026-02-10 11:26:01 +00:00
ai_onboarding Add student plan (#47866) 2026-01-28 21:34:10 +00:00
anthropic Strip broken thinking blocks from Anthropic requests (#48548) 2026-02-07 04:21:58 +00:00
askpass Revert "Allow always_allow patterns for Nushell, Elvish, and Rc shells" (#48050) 2026-01-30 21:26:13 +00:00
assets
assistant_slash_command Handle removed IconName variants in text thread deserialization (#47624) 2026-01-26 23:56:55 +00:00
assistant_slash_commands build: Tear up crate graph (move terminal closer to editor) (#48602) 2026-02-06 20:14:35 +01:00
assistant_text_thread agent: Fix disabled MCP servers disappearing from UI after restart (#47758) 2026-02-09 00:56:20 +01:00
audio settings: Add ability to select audio input/output devices for collab (#49015) 2026-02-12 14:27:55 +01:00
auto_update workspace: Move the update Zed button to the title bar (#48467) 2026-02-10 16:03:46 -03:00
auto_update_helper
auto_update_ui Revert PRs for landing in main (#48969) 2026-02-12 00:28:17 +00:00
aws_http_client
bedrock bedrock: Enable 1M context window (#48542) 2026-02-12 14:32:24 +00:00
breadcrumbs Clean up some Cargo.toml files (#48623) 2026-02-06 20:21:19 +00:00
buffer_diff git: Optimize patch_for_range functions (#48852) 2026-02-10 01:19:01 -05:00
call gpui: Actually remove the Result from AsyncApp (#45809) 2026-01-07 12:48:24 -08:00
channel gpui: Actually remove the Result from AsyncApp (#45809) 2026-01-07 12:48:24 -08:00
cli ci: Fix builds on Windows following mtime finnickery (#48878) 2026-02-10 16:17:49 +01:00
client client: Fix ACP registry blog post URL (#47881) 2026-01-28 18:28:53 +00:00
clock
cloud_api_client
cloud_api_types Move extension API DTOs into cloud_api_types (#48689) 2026-02-07 17:54:29 +00:00
cloud_llm_client agent: Highlight latest models available through the Zed provider (#48614) 2026-02-06 14:03:03 -05:00
codestral Fix Codestral API key credentials URL mismatch (#48513) 2026-02-05 17:34:34 -05:00
collab Use document symbols' ranges to derive their outline labels (#48978) 2026-02-12 09:36:48 +02:00
collab_ui Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
collections
command_palette Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
command_palette_hooks
component
component_preview build: Simplify build graph (#47253) 2026-01-23 18:29:20 +01:00
context_server Revert "Allow always_allow patterns for Nushell, Elvish, and Rc shells" (#48050) 2026-01-30 21:26:13 +00:00
copilot copilot: Fix Copilot not respecting disable_ai setting (#48495) 2026-02-11 18:19:41 +01:00
copilot_chat Switch to a Zed user-agent header for Copilot traffic (#48591) 2026-02-11 00:13:14 +00:00
copilot_ui Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
crashes Revert "Revert scheduler update (#46659)" (#46671) 2026-01-14 07:19:13 +00:00
credentials_provider gpui: Actually remove the Result from AsyncApp (#45809) 2026-01-07 12:48:24 -08:00
dap dap: Make ProtoConversion::to_proto consume self (#47871) 2026-01-28 16:00:52 +00:00
dap_adapters Auto-detect Rust for CodeLLDB panic breakpoints (#48236) 2026-02-04 04:44:42 -05:00
db Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
debug_adapter_extension Revert "Revert scheduler update (#46659)" (#46671) 2026-01-14 07:19:13 +00:00
debugger_tools git: Fix searching in the split diff (#48894) 2026-02-10 23:29:51 +00:00
debugger_ui Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
deepseek
denoise
dev_container Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
diagnostics Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
docs_preprocessor editor: Implement semantic highlighting (#46356) 2026-02-04 17:37:13 +00:00
edit_prediction ep: Add SeedCoder prompt format (#49020) 2026-02-12 15:18:28 +02:00
edit_prediction_cli ep: Add SeedCoder prompt format (#49020) 2026-02-12 15:18:28 +02:00
edit_prediction_context Introduce new predict_edits/v3 endpoint (#46960) 2026-01-16 02:16:34 +00:00
edit_prediction_types Differentiate between explicit rejection and ignored in ep acceptance tracking (#48409) 2026-02-04 17:54:11 -05:00
edit_prediction_ui Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
editor editor: Do not include inlays in word diff highlights (#49007) 2026-02-12 09:26:06 +00:00
encoding_selector Revert PRs for landing in main (#48969) 2026-02-12 00:28:17 +00:00
eval Remove thinking tool (#48952) 2026-02-11 16:22:20 -05:00
eval_utils
explorer_command_injector
extension lsp: Add container_name to lsp::Symbol (#46822) 2026-02-04 23:03:15 +01:00
extension_api extension_api: Add digest to GithubReleaseAsset (#48413) 2026-02-05 12:13:02 +00:00
extension_cli Move extension API DTOs into cloud_api_types (#48689) 2026-02-07 17:54:29 +00:00
extension_host Canonicalize extension paths (#48632) 2026-02-10 10:38:47 -08:00
extensions_ui Revert PRs for landing in main (#48969) 2026-02-12 00:28:17 +00:00
feature_flags Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
feedback
file_finder file_finder: Don’t use focused file’s directory for CreateNew unless it belongs to project worktrees (#42076) 2026-02-12 11:26:49 +00:00
file_icons
fs fs: Cache filesystem case sensitivity (#47995) 2026-01-30 09:42:28 +01:00
fs_benchmarks
fuzzy
git Revert "git: Fix stage/unstage failure with a large number of files (#47800)" (#48238) 2026-02-03 04:24:11 +00:00
git_graph git: Use CDN endpoint for GitHub avatars to avoid rate limiting (#47894) 2026-01-31 13:49:42 -05:00
git_hosting_providers Implement extract_pull_request for GitLab provider (#47973) 2026-01-31 21:56:34 +00:00
git_ui Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
go_to_line Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
google_ai
gpui gpui(windows): Create d3d11 device only once, not twice (#49001) 2026-02-12 08:18:57 +00:00
gpui_macros gpui: Add min_size and max_size style methods (#47775) 2026-01-27 15:37:22 -03:00
gpui_tokio gpui: Actually remove the Result from AsyncApp (#45809) 2026-01-07 12:48:24 -08:00
html_to_markdown
http_client
http_client_tls
icons agent_ui: Add some UI tweaks to the subagents thread (#49030) 2026-02-12 14:58:21 +00:00
image_viewer editor: Put more syntax walking features on the background (#48450) 2026-02-05 09:31:11 +00:00
inspector_ui Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
install_cli Revert PRs for landing in main (#48969) 2026-02-12 00:28:17 +00:00
journal Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
json_schema_store json_schema_store: Include available LSP adapters in settings schema (#46766) 2026-02-12 09:58:38 -05:00
keymap_editor Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
language json_schema_store: Include available LSP adapters in settings schema (#46766) 2026-02-12 09:58:38 -05:00
language_extension lsp: Add container_name to lsp::Symbol (#46822) 2026-02-04 23:03:15 +01:00
language_model Strip broken thinking blocks from Anthropic requests (#48548) 2026-02-07 04:21:58 +00:00
language_models bedrock: Enable 1M context window (#48542) 2026-02-12 14:32:24 +00:00
language_onboarding
language_selector build: Simplify build graph (#47253) 2026-01-23 18:29:20 +01:00
language_tools git: Fix searching in the split diff (#48894) 2026-02-10 23:29:51 +00:00
languages languages: Improve function parameter highlighting for Bash (#48067) 2026-02-12 15:05:35 +02:00
line_ending_selector
livekit_api Update Rust crate jsonwebtoken to v10 [SECURITY] (#48294) 2026-02-03 15:51:40 -05:00
livekit_client settings: Add ability to select audio input/output devices for collab (#49015) 2026-02-12 14:27:55 +01:00
lmstudio
lsp Add configurable LSP timeout setting (#44745) 2026-02-07 00:36:37 +00:00
markdown markdown: Fix markdown table selection hit testing (#47720) 2026-02-02 16:37:58 +00:00
markdown_preview Add item for opening Markdown/SVG files in preview tab in right-click menu (#47821) 2026-01-28 00:19:13 -03:00
media
menu ui: Add submenus to ContextMenu (#45743) 2025-12-30 07:49:01 -03:00
migrator Replace always_allow_tool_actions with tool_permissions.default (#48553) 2026-02-10 18:57:31 -05:00
miniprofiler_ui Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
mistral Fix Codestral API key credentials URL mismatch (#48513) 2026-02-05 17:34:34 -05:00
multi_buffer git: Fewer buffer diff snapshots (#48886) 2026-02-10 20:20:57 +00:00
nc smol: Use Unblock instead of Async for stdin, stdout and stderr handles (#46141) 2026-01-06 08:14:34 +00:00
net
node_runtime acp: Allow running NPM agents from registry (#47291) 2026-01-21 14:52:44 +00:00
notifications gpui: Actually remove the Result from AsyncApp (#45809) 2026-01-07 12:48:24 -08:00
ollama Add initial support for edit predictions via Ollama (#48233) 2026-02-04 01:33:12 +00:00
onboarding Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
open_ai ep: Use rejected_output for DPO training + OpenAI support (#47697) 2026-01-27 13:02:40 +00:00
open_path_prompt Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
open_router Add user picked model to be used as a default for open router provider when generating comments and thread summary (#47475) 2026-02-12 14:02:16 +00:00
outline Use document symbols' ranges to derive their outline labels (#48978) 2026-02-12 09:36:48 +02:00
outline_panel Use document symbols' ranges to derive their outline labels (#48978) 2026-02-12 09:36:48 +02:00
panel build: Decouple git_ui from recent_projects (#48062) 2026-02-02 13:30:07 +01:00
paths Fix text_threads_dir() non-compliance with XDG spec (#45771) 2026-02-06 15:34:36 +00:00
picker build: Simplify build graph (#47253) 2026-01-23 18:29:20 +01:00
platform_title_bar Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
prettier Add configurable LSP timeout setting (#44745) 2026-02-07 00:36:37 +00:00
project Fix grammar in comments (#48693) 2026-02-12 15:13:44 +02:00
project_benchmarks ep_cli: Fix "Too many open files" errors (#47243) 2026-01-20 15:41:31 -05:00
project_panel workspace: Improve recent projects picker for multi-project scenario (#48989) 2026-02-12 09:54:33 -03:00
project_symbols Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
prompt_store Revert "Allow always_allow patterns for Nushell, Elvish, and Rc shells" (#48050) 2026-01-30 21:26:13 +00:00
proto Support LSP document symbols in breadcrumbs and outline UI (#48780) 2026-02-11 21:30:03 +02:00
recent_projects workspace: Adjust remote projects modal (#49019) 2026-02-12 13:04:15 +00:00
refineable
release_channel
remote Revert PRs for landing in main (#48969) 2026-02-12 00:28:17 +00:00
remote_connection build: Decouple git_ui from recent_projects (#48062) 2026-02-02 13:30:07 +01:00
remote_server Add support for ACP registry in remote projects (#48935) 2026-02-12 11:50:24 +00:00
repl Resolve semantic merge conflict (#48999) 2026-02-12 07:53:30 +00:00
reqwest_client Add initial support for edit predictions via Ollama (#48233) 2026-02-04 01:33:12 +00:00
rich_text
rope rope: Fix point_utf16_to_offset returning relative offset instead of absolute (#48862) 2026-02-11 14:21:13 +01:00
rpc Support LSP document symbols in breadcrumbs and outline UI (#48780) 2026-02-11 21:30:03 +02:00
rules_library Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
scheduler Restore run_with_clock_advancement (#46930) 2026-01-15 18:39:06 +00:00
schema_generator
search search: Support brace syntax in project search include/exclude patterns (#47860) 2026-02-12 15:00:31 +02:00
session Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
settings Support LSP document symbols in breadcrumbs and outline UI (#48780) 2026-02-11 21:30:03 +02:00
settings_content bedrock: Enable 1M context window (#48542) 2026-02-12 14:32:24 +00:00
settings_json
settings_macros
settings_profile_selector Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
settings_ui settings: Add ability to select audio input/output devices for collab (#49015) 2026-02-12 14:27:55 +01:00
shell_command_parser Extract shell_command_parser into shared crate (#48660) 2026-02-09 08:56:21 -05:00
sidebar Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
snippet
snippet_provider extension_cli: Validate that all snippets can be parsed (#47649) 2026-01-26 13:49:26 +00:00
snippets_ui Revert PRs for landing in main (#48969) 2026-02-12 00:28:17 +00:00
sqlez
sqlez_macros
story
storybook collab: Improve project and call notification UI (#47964) 2026-01-29 16:33:38 -03:00
streaming_diff
sum_tree multi_buffer: Optimize a bunch of things (#48519) 2026-02-05 20:10:02 +00:00
supermaven Differentiate between explicit rejection and ignored in ep acceptance tracking (#48409) 2026-02-04 17:54:11 -05:00
supermaven_api collab: Remove Supermaven API key issuance (#46044) 2026-01-04 23:28:18 +00:00
svg_preview Add item for opening Markdown/SVG files in preview tab in right-click menu (#47821) 2026-01-28 00:19:13 -03:00
system_specs
tab_switcher vim: Make :bdelete use new workspace::CloseItemInAllPanes command (#48988) 2026-02-12 12:33:51 +00:00
task debugger: Wrap TaskContext in Arc to reduce cloning overhead (#47087) 2026-02-05 10:37:39 +00:00
tasks_ui Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
telemetry
telemetry_events ep_cli: rated-after: query (#47906) 2026-01-28 16:36:44 -08:00
terminal Revert "Allow always_allow patterns for Nushell, Elvish, and Rc shells" (#48050) 2026-01-30 21:26:13 +00:00
terminal_view terminal: Preserve terminal order and fix pinned count on workspace restore (#44464) 2026-02-12 09:59:59 +00:00
text git: Follow-up fixes for custom blocks in the side-by-side diff (#48747) 2026-02-08 20:10:52 -05:00
theme editor: Implement semantic highlighting (#46356) 2026-02-04 17:37:13 +00:00
theme_extension
theme_importer Split settings content into its own crate (#46845) 2026-01-15 18:10:21 +00:00
theme_selector
time_format time_format: Determine year difference based on months passed (#47687) 2026-01-28 17:05:34 +01:00
title_bar workspace: Improve recent projects picker for multi-project scenario (#48989) 2026-02-12 09:54:33 -03:00
toolchain_selector Added support for dismissing the toolchain path selector via esc (#48201) 2026-02-02 16:56:25 +00:00
ui workspace: Adjust remote projects modal (#49019) 2026-02-12 13:04:15 +00:00
ui_input build: Decouple git_ui from recent_projects (#48062) 2026-02-02 13:30:07 +01:00
ui_macros
ui_prompt
util Revert PRs for landing in main (#48969) 2026-02-12 00:28:17 +00:00
util_macros
vercel project: Move tests to integration layer (#47596) 2026-01-25 21:35:32 +01:00
vim vim: Make :bdelete use new workspace::CloseItemInAllPanes command (#48988) 2026-02-12 12:33:51 +00:00
vim_mode_setting
watch
web_search
web_search_providers Add helper method for checking if the LLM token needs to be refreshed (#47511) 2026-01-23 20:50:50 +00:00
which_key
workspace workspace: Improve recent projects picker for multi-project scenario (#48989) 2026-02-12 09:54:33 -03:00
worktree languages: Fix local path of JSON and YAML schemas (#44794) 2026-02-12 04:50:54 +00:00
worktree_benchmarks project: Always allocate WorktreeIDs on the remote client (#47936) 2026-01-29 15:31:13 +00:00
x_ai
zed workspace: Improve recent projects picker for multi-project scenario (#48989) 2026-02-12 09:54:33 -03:00
zed_actions build: Tear up crate graph (move terminal closer to editor) (#48602) 2026-02-06 20:14:35 +01:00
zed_env_vars
zeta_prompt ep: Add SeedCoder prompt format (#49020) 2026-02-12 15:18:28 +02:00
zlog
zlog_settings
ztracing ztracing: Annotate more callsites that invoke TreeSitter (#47522) 2026-02-11 11:24:04 +00:00
ztracing_macro