ZIm/assets
gcp-cherry-pick-bot[bot] 8da6604165
keymap_ui: Auto complete action arguments (cherry-pick #34785) (#34790)
Cherry-picked 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 ...

Co-authored-by: Ben Kunkle <ben@zed.dev>
2025-07-20 17:07:39 -04:00
..
fonts Fix font selection on macOS (#13615) 2024-06-27 17:02:45 -06:00
icons Add exact matching option to keymap editor search (#34497) 2025-07-16 12:14:09 -04:00
images debugger: Add onboarding modal (#32961) 2025-06-18 18:44:02 +00:00
keymaps keymap_ui: Auto complete action arguments (cherry-pick #34785) (#34790) 2025-07-20 17:07:39 -04:00
prompts Include full abs paths of worktrees in system prompt (#32725) 2025-06-15 15:45:26 +02:00
settings agent: Disable project_notifications by default (cherry-pick #34615) (#34619) 2025-07-17 15:09:12 +03:00
sounds agent: Add sound notification when done generating (#31472) 2025-05-26 21:20:41 -03:00
themes One Light Theme: Change constant color (#33166) 2025-06-21 12:43:02 -04:00