Bae Seokjae and Ben Kunkle
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
..
2026-02-10 18:57:31 -05:00
2026-01-21 13:40:42 -03:00
2026-01-22 02:31:14 -05:00
2026-02-10 16:03:46 -03:00
2026-02-12 14:43:14 +00:00
2026-02-10 18:57:31 -05:00
2026-02-10 18:57:31 -05:00
2026-02-12 14:58:21 +00:00
2026-02-10 11:26:01 +00:00
2026-01-28 21:34:10 +00:00
2026-02-07 04:21:58 +00:00
2026-01-30 21:26:13 +00:00
2026-01-26 23:56:55 +00:00
2026-02-06 20:14:35 +01:00
2026-02-09 00:56:20 +01:00
2026-02-12 14:27:55 +01:00
2026-02-10 16:03:46 -03:00
2026-02-12 00:28:17 +00:00
2026-02-12 14:32:24 +00:00
2026-02-06 20:21:19 +00:00
2026-02-10 01:19:01 -05:00
2026-01-07 12:48:24 -08:00
2026-01-07 12:48:24 -08:00
2026-02-10 16:17:49 +01:00
2026-01-28 18:28:53 +00:00
2026-02-07 17:54:29 +00:00
2026-02-06 14:03:03 -05:00
2026-02-05 17:34:34 -05:00
2026-02-12 09:36:48 +02:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-01-23 18:29:20 +01:00
2026-01-30 21:26:13 +00:00
2026-02-11 18:19:41 +01:00
2026-02-11 00:13:14 +00:00
2026-02-12 01:06:23 +00:00
2026-01-14 07:19:13 +00:00
2026-01-07 12:48:24 -08:00
2026-01-28 16:00:52 +00:00
2026-02-04 04:44:42 -05:00
2026-02-12 01:06:23 +00:00
2026-01-14 07:19:13 +00:00
2026-02-10 23:29:51 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-02-04 17:37:13 +00:00
2026-02-12 15:18:28 +02:00
2026-02-12 15:18:28 +02:00
2026-01-16 02:16:34 +00:00
2026-02-04 17:54:11 -05:00
2026-02-12 01:06:23 +00:00
2026-02-12 09:26:06 +00:00
2026-02-12 00:28:17 +00:00
2026-02-11 16:22:20 -05:00
2026-02-04 23:03:15 +01:00
2026-02-05 12:13:02 +00:00
2026-02-07 17:54:29 +00:00
2026-02-10 10:38:47 -08:00
2026-02-12 00:28:17 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 11:26:49 +00:00
2026-01-30 09:42:28 +01:00
2026-02-03 04:24:11 +00:00
2026-01-31 13:49:42 -05:00
2026-01-31 21:56:34 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 08:18:57 +00:00
2026-01-27 15:37:22 -03:00
2026-01-07 12:48:24 -08:00
2026-02-12 14:58:21 +00:00
2026-02-05 09:31:11 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 00:28:17 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 09:58:38 -05:00
2026-02-12 01:06:23 +00:00
2026-02-12 09:58:38 -05:00
2026-02-04 23:03:15 +01:00
2026-02-07 04:21:58 +00:00
2026-02-12 14:32:24 +00:00
2026-01-23 18:29:20 +01:00
2026-02-10 23:29:51 +00:00
2026-02-12 15:05:35 +02:00
2026-02-03 15:51:40 -05:00
2026-02-12 14:27:55 +01:00
2026-02-07 00:36:37 +00:00
2026-02-02 16:37:58 +00:00
2026-01-28 00:19:13 -03:00
2026-02-10 18:57:31 -05:00
2026-02-12 01:06:23 +00:00
2026-02-05 17:34:34 -05:00
2026-02-10 20:20:57 +00:00
2026-01-21 14:52:44 +00:00
2026-01-07 12:48:24 -08:00
2026-02-04 01:33:12 +00:00
2026-02-12 01:06:23 +00:00
2026-01-27 13:02:40 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 14:02:16 +00:00
2026-02-12 09:36:48 +02:00
2026-02-12 09:36:48 +02:00
2026-02-02 13:30:07 +01:00
2026-02-06 15:34:36 +00:00
2026-01-23 18:29:20 +01:00
2026-02-12 01:06:23 +00:00
2026-02-07 00:36:37 +00:00
2026-02-12 15:13:44 +02:00
2026-01-20 15:41:31 -05:00
2026-02-12 09:54:33 -03:00
2026-02-12 01:06:23 +00:00
2026-01-30 21:26:13 +00:00
2026-02-11 21:30:03 +02:00
2026-02-12 13:04:15 +00:00
2026-02-12 00:28:17 +00:00
2026-02-02 13:30:07 +01:00
2026-02-12 11:50:24 +00:00
2026-02-12 07:53:30 +00:00
2026-02-04 01:33:12 +00:00
2026-02-11 14:21:13 +01:00
2026-02-11 21:30:03 +02:00
2026-02-12 01:06:23 +00:00
2026-01-15 18:39:06 +00:00
2026-02-12 15:00:31 +02:00
2026-02-12 01:06:23 +00:00
2026-02-11 21:30:03 +02:00
2026-02-12 14:32:24 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 14:27:55 +01:00
2026-02-09 08:56:21 -05:00
2026-02-12 01:06:23 +00:00
2026-01-26 13:49:26 +00:00
2026-02-12 00:28:17 +00:00
2026-01-29 16:33:38 -03:00
2026-02-05 20:10:02 +00:00
2026-02-04 17:54:11 -05:00
2026-01-28 00:19:13 -03:00
2026-02-12 12:33:51 +00:00
2026-02-05 10:37:39 +00:00
2026-02-12 01:06:23 +00:00
2026-01-28 16:36:44 -08:00
2026-01-30 21:26:13 +00:00
2026-02-12 09:59:59 +00:00
2026-02-08 20:10:52 -05:00
2026-02-04 17:37:13 +00:00
2026-01-15 18:10:21 +00:00
2026-01-28 17:05:34 +01:00
2026-02-12 09:54:33 -03:00
2026-02-02 16:56:25 +00:00
2026-02-12 13:04:15 +00:00
2026-02-02 13:30:07 +01:00
2026-02-12 00:28:17 +00:00
2026-01-25 21:35:32 +01:00
2026-02-12 12:33:51 +00:00
2026-01-23 20:50:50 +00:00
2026-02-12 09:54:33 -03:00
2026-02-12 04:50:54 +00:00
2026-01-29 15:31:13 +00:00
2026-02-12 09:54:33 -03:00
2026-02-06 20:14:35 +01:00
2026-02-12 15:18:28 +02:00
2026-02-11 11:24:04 +00:00