ZIm/crates/languages/src
Ben Kunkle 7c1040bc93
keymap_ui: Auto complete action arguments (#34785)
Supersedes: #34242

Creates an `ActionArgumentsEditor` that implements the required logic to
have a JSON language server run when editing keybinds so that there is
auto-complete for action arguments.

This is the first time action argument schemas are required by
themselves rather than inlined in the keymap schema. Rather than add all
action schemas to the configuration options we send to the JSON LSP on
startup, this PR implements support for the
`vscode-json-language-server` extension to the LSP whereby the server
will request the client (Zed) to resolve URLs with URI schemes it does
not recognize, in our case `zed://`. This limits the impact on the size
of the configuration options to ~1KB as we send URLs for the language
server to resolve on demand rather than the schema itself. My
understanding is that this is how VSCode handles JSON schemas as well. I
plan to investigate converting the rest of our schema generation logic
to this method in a follow up PR.

Co-Authored-By: Cole <cole@zed.dev>

Release Notes:

- N/A *or* Added/Fixed/Improved ...
2025-07-20 16:24:17 -04:00
..
bash Fix aggressive indent in shell scripts (#31973) 2025-06-03 10:50:58 -04:00
c Improve C/C++ indentation flow for single statement blocks (#34549) 2025-07-18 12:24:20 +02:00
cpp Improve C/C++ indentation flow for single statement blocks (#34549) 2025-07-18 12:24:20 +02:00
css Improve CSS syntax highlighting (#25326) 2025-06-06 17:14:32 -04:00
diff Improve diff syntax highlighting queries (#21740) 2024-12-12 15:18:36 -08:00
gitcommit git_ui: Fix list in git commit message (#33409) 2025-07-01 08:05:08 -04:00
go go: Support raw string subtest names (#34636) 2025-07-18 13:38:18 +02:00
gomod Add "tool" support to go.mod (#22995) 2025-01-15 17:44:28 +02:00
gowork File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
javascript languages: Add JS/TS generator functions to outline (#34388) 2025-07-14 07:26:17 -05:00
jsdoc Add JSDoc scope (#29476) 2025-06-06 08:31:59 -04:00
json debugger: Run debug scenarios from package.json (#32958) 2025-06-18 20:04:25 +02:00
jsonc Treat bun.lock as JSONC (#27359) 2025-03-24 09:46:23 -04:00
markdown languages: Fix ( wouldn’t autocomplete when . is preceded by it in Markdown (#33705) 2025-07-01 16:51:46 +05:30
markdown-inline Hide Markdown-Inline language from users with a new 'hidden' flag on language configs (#17104) 2024-08-29 11:23:33 -07:00
python languages: Fix detents case line after typing : in Python (#34017) 2025-07-07 22:41:29 +05:30
regex Improve Regex highlighting (#28183) 2025-04-18 12:44:13 -04:00
rust debugger: Generate inline values based on debugger.scm file (#33081) 2025-06-24 18:24:43 +00:00
tsx languages: Add JS/TS generator functions to outline (#34388) 2025-07-14 07:26:17 -05:00
typescript languages: Add JS/TS generator functions to outline (#34388) 2025-07-14 07:26:17 -05:00
yaml Fix yaml comment indent (#33882) 2025-07-03 23:57:57 +00:00
zed-keybind-context keymap_ui: Create language for Zed keybind context (#34558) 2025-07-16 17:00:47 +00:00
bash.rs Fix aggressive indent in shell scripts (#31973) 2025-06-03 10:50:58 -04:00
c.rs editor: Utilize filter_text from language server for filter_range (#33155) 2025-06-21 19:47:16 +05:30
css.rs Use read-only access methods for read-only entity operations (#31479) 2025-05-26 23:04:31 -04:00
go.rs go: Support raw string subtest names (#34636) 2025-07-18 13:38:18 +02:00
json.rs keymap_ui: Auto complete action arguments (#34785) 2025-07-20 16:24:17 -04:00
lib.rs Fix Tailwind support for HTML/ERB files (#34743) 2025-07-19 11:06:35 -04:00
package_json.rs debugger: Fix issues with debugging scripts from package.json (#32995) 2025-06-19 14:33:24 +00:00
python.rs language: Add context-aware decrease indent for Python (#33370) 2025-06-26 11:11:03 +05:30
rust.rs debugger: Fix wrong cwd in Rust tests (#33788) 2025-07-02 17:36:35 +00:00
tailwind.rs Fix Tailwind support for HTML/ERB files (#34743) 2025-07-19 11:06:35 -04:00
typescript.rs languages: Add JS/TS generator functions to outline (#34388) 2025-07-14 07:26:17 -05:00
vtsls.rs editor: Utilize filter_text from language server for filter_range (#33155) 2025-06-21 19:47:16 +05:30
yaml.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00