ZIm/crates
Michael Sloan b564b1d5d0
outline: Fix nesting in multi-name declarations in Go and C++ (#36076)
An alternative might be to adjust the logic to not nest items when their
ranges are the same, but then clicking them doesn't work properly /
moving the cursor does not change which is selected. This could probably
be made to work with some extra logic there, but it seems overkill.

The downside of fixing it at the query level is that other parts of the
declaration are not inside the item range. This seems to be fine for
single line declarations - the nearest outline item is highlighted.
However, if a part of the declaration is not included in an item range
and is on its own line, then no outline item is highlighted.

Release Notes:

- Outline Panel: Fixed nesting of var and field declarations with
multiple identifiers in Go and C++

C++ before:

<img width="743" height="227" alt="image"
src="https://github.com/user-attachments/assets/af1a1d76-ecdc-4999-ae9c-95591726ccca"
/>

C++ after:

<img width="795" height="250" alt="image"
src="https://github.com/user-attachments/assets/49667ed3-e088-48b3-a9f0-6a119b5e7648"
/>

Go before:

<img width="859" height="306" alt="image"
src="https://github.com/user-attachments/assets/ecc7530a-ca16-4f37-b8d1-60687f178b12"
/>

Go after:

<img width="900" height="334" alt="image"
src="https://github.com/user-attachments/assets/d741cfb0-59e5-4d27-bd6a-f422204dc972"
/>
2025-08-12 21:08:19 +00:00
..
acp_thread agent2: Add custom UI for resource link content blocks (#36005) 2025-08-12 12:39:27 -03:00
action_log agent2: Port more tools (#35987) 2025-08-11 17:24:48 +00:00
activity_indicator Regroup LSP context menu items by the worktree name (#34838) 2025-07-21 17:48:07 +00:00
agent Don't retry for PaymentRequiredError or ModelRequestLimitReachedError (#36075) 2025-08-12 21:06:01 +00:00
agent2 Include mention context in acp-based native agent (#36006) 2025-08-12 13:12:58 +00:00
agent_servers Fix CC tool state on cancel (#35763) 2025-08-07 20:26:19 -03:00
agent_settings Support profiles in agent2 (#36034) 2025-08-12 12:17:48 +00:00
agent_ui agent2: Fix some UI glitches (#36067) 2025-08-12 16:31:54 -03:00
ai_onboarding Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
anthropic Add Claude Opus 4.1 (#35653) 2025-08-05 18:16:47 +00:00
askpass Revert "git: Intercept signing prompt from GPG when committing" (#34306) 2025-07-11 23:20:35 +00:00
assets Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
assistant_context ACP champagne (#35609) 2025-08-06 09:01:06 +00:00
assistant_slash_command Stop extensions' servers and message loops before removing their files (#34208) 2025-07-10 19:25:10 +00:00
assistant_slash_commands Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
assistant_tool Pull action_log into its own crate (#35959) 2025-08-10 21:57:55 +00:00
assistant_tools agent2: Port more tools (#35987) 2025-08-11 17:24:48 +00:00
audio Upgrade rodio to 0.21 (#34368) 2025-07-29 13:24:34 -07:00
auto_update Add OS specific settings (#35756) 2025-08-07 10:52:54 -07:00
auto_update_helper windows: Publish nightly (#24800) 2025-07-09 08:57:03 +08:00
auto_update_ui Fix documentation of view release notes actions (#33851) 2025-07-03 14:22:28 +00:00
aws_http_client bedrock: Fix remaining streaming delays (#33931) 2025-07-22 11:55:24 -04:00
bedrock Add Claude Opus 4.1 (#35653) 2025-08-05 18:16:47 +00:00
breadcrumbs breadcrumbs: Stylize filename in breadcrumbs when tab-bar is off and file is dirty (#30507) 2025-05-30 08:32:54 -07:00
buffer_diff sum_tree: Store context on cursor (#34904) 2025-07-22 18:20:48 +02:00
call collab: Add screen selector (#31506) 2025-07-21 13:44:51 +02:00
channel sum_tree: Do not implement Dimension on tuples, use new Dimensions wrapper instead (#35482) 2025-08-05 00:37:22 +00:00
cli cli: Use existing release channel name (#34771) 2025-08-08 09:49:36 +03:00
client telemetry: Reduce the amount of telemetry events fired (#36060) 2025-08-12 19:56:27 +00:00
clock Add the ability to follow the agent as it makes edits (#29839) 2025-05-04 08:28:39 +00:00
cloud_api_client Establish WebSocket connection to Cloud (#35734) 2025-08-07 01:28:41 +00:00
cloud_api_types Establish WebSocket connection to Cloud (#35734) 2025-08-07 01:28:41 +00:00
cloud_llm_client agent2: Add now, grep, and web search tools (#35974) 2025-08-11 15:34:34 +02:00
collab Add release_channel data to request child spans (#35874) 2025-08-08 14:17:18 +00:00
collab_ui Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
collections Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
command_palette Add key contexts for Pickers (#35665) 2025-08-06 15:28:18 -04:00
command_palette_hooks Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
component Recategorize a few items in the component preview (#35681) 2025-08-05 23:11:43 +00:00
context_server Update to new agent schema (#35578) 2025-08-04 13:49:41 +00:00
copilot completions: Add subtle/eager behavior to Supermaven and Copilot (#35548) 2025-08-07 18:27:29 +03:00
crashes Don't generate crash reports on the Dev channel (#35915) 2025-08-09 11:42:30 +00:00
credentials_provider Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
dap debugger: Filter out debug scenarios with invalid Adapters from debug picker (#35744) 2025-08-06 18:10:17 -04:00
dap_adapters python: Create DAP download directory sooner (#35986) 2025-08-11 16:50:24 +00:00
db Misc nitpicks, changes too small / unrelated to be in other PRs (#32768) 2025-06-15 19:51:04 +00:00
debug_adapter_extension Allow remote loading for DAP-only extensions (#33981) 2025-07-06 14:52:16 +02:00
debugger_tools debugger: Improve appearance of session list for JavaScript debugging (#34322) 2025-07-12 15:56:05 +00:00
debugger_ui debugger: Add refinements to the UI (#35940) 2025-08-10 15:23:27 -03:00
deepseek language_models: Emit UsageUpdate events for token usage in DeepSeek and OpenAI (#33242) 2025-06-25 09:42:30 +02:00
diagnostics Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
docs_preprocessor Properly use static instead of const for global types that need a single init (#35955) 2025-08-10 18:01:54 +00:00
edit_prediction completions: Add subtle/eager behavior to Supermaven and Copilot (#35548) 2025-08-07 18:27:29 +03:00
edit_prediction_button completions: Add subtle/eager behavior to Supermaven and Copilot (#35548) 2025-08-07 18:27:29 +03:00
editor telemetry: Reduce the amount of telemetry events fired (#36060) 2025-08-12 19:56:27 +00:00
eval Use distinct user agents in agent eval and zeta-cli (#35897) 2025-08-08 23:26:38 +00:00
explorer_command_injector Just Zed instead of Zed Editor (#34146) 2025-07-10 21:08:43 +02:00
extension Use a better type for language IDs field (#35566) 2025-08-04 07:12:02 +00:00
extension_api Move language-specific debugging docs to the page for each language (#33692) 2025-07-01 20:02:12 +00:00
extension_cli extension_cli: Copy over snippet file when bundling extensions (#34450) 2025-07-15 11:07:29 +00:00
extension_host telemetry: Reduce the amount of telemetry events fired (#36060) 2025-08-12 19:56:27 +00:00
extensions_ui Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
feature_flags client: Only connect to Collab automatically for Zed staff (#35827) 2025-08-07 22:14:25 +00:00
feedback gpui: Store action documentation (#33809) 2025-07-02 21:14:33 -04:00
file_finder file_finder: Fix right border not rendering (#35684) 2025-08-08 18:32:13 -03:00
file_icons Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
fs Centralize always_allow logic when authorizing agent2 tools (#35988) 2025-08-11 17:22:19 +00:00
fsevent Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
fuzzy Prevent out of bounds access in recursive_score_match (#35630) 2025-08-06 10:53:20 +02:00
git Ignore whitespace in git blame invocation (#35960) 2025-08-12 11:47:15 -07:00
git_hosting_providers git_hosting_providers: Extract Bitbucket pull request number (#34584) 2025-08-08 01:39:32 +00:00
git_ui git: Add ability to clone remote repositories from Zed (#35606) 2025-08-11 15:09:38 +00:00
go_to_line Add OS specific settings (#35756) 2025-08-07 10:52:54 -07:00
google_ai Update Gemini Models (#32902) 2025-06-17 20:26:27 +00:00
gpui windows: Fix message loop using too much CPU (#35969) 2025-08-12 11:28:47 -07:00
gpui_macros Fix running vim tests with --features neovim (#36014) 2025-08-12 05:08:58 +00:00
gpui_tokio Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
html_to_markdown agent: Fix crash with pathological fetch output (#34253) 2025-07-11 21:01:09 -04:00
http_client languages: Don't remove old artifacts on download failure (#35967) 2025-08-11 07:20:03 +00:00
http_client_tls Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
icons Update and refine some icons (#35938) 2025-08-09 22:12:23 -03:00
image_viewer Option to auto-close deleted files with no unsaved edits (#31920) 2025-06-03 13:18:29 +02:00
indexed_docs Stop extensions' servers and message loops before removing their files (#34208) 2025-07-10 19:25:10 +00:00
inspector_ui Disable minimap in the inspector (#34607) 2025-07-17 09:22:04 +00:00
install_cli gpui: Store action documentation (#33809) 2025-07-02 21:14:33 -04:00
jj Add a picker for jj bookmark list (#30883) 2025-05-17 16:42:45 +00:00
jj_ui editor: Improve code completion filtering to provide fewer and more accurate suggestions (#32928) 2025-06-18 16:01:28 +05:30
journal gpui: Store action documentation (#33809) 2025-07-02 21:14:33 -04:00
language git: Add ability to clone remote repositories from Zed (#35606) 2025-08-11 15:09:38 +00:00
language_extension Use a better type for language IDs field (#35566) 2025-08-04 07:12:02 +00:00
language_model agent2: Port edit_file tool (#35844) 2025-08-08 12:43:53 +00:00
language_models open_ai: Send prompt_cache_key to improve caching (#36065) 2025-08-12 21:51:23 +03:00
language_selector Add setting to hide active language button in the status bar (#33977) 2025-08-08 05:04:30 +00:00
language_tools Rename remaining mentions of "inline completion" to "edit prediction" (#35512) 2025-08-04 16:22:18 +00:00
languages outline: Fix nesting in multi-name declarations in Go and C++ (#36076) 2025-08-12 21:08:19 +00:00
livekit_api Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
livekit_client Fix LiveKit audio for devices with different sample formats (#35604) 2025-08-05 16:36:08 +02:00
lmstudio lmstudio: Propagate actual error message from server (#34538) 2025-07-25 09:36:43 -04:00
lsp project: Add more dynamic capability registrations for LSP (#35306) 2025-08-11 09:59:41 +00:00
markdown agent2: Fix some UI glitches (#36067) 2025-08-12 16:31:54 -03:00
markdown_preview Simplify ListState API (#35685) 2025-08-06 00:02:26 +00:00
media Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
menu gpui: Store action documentation (#33809) 2025-07-02 21:14:33 -04:00
migrator Rename remaining mentions of "inline completion" to "edit prediction" (#35512) 2025-08-04 16:22:18 +00:00
mistral language_models: Add thinking to Mistral Provider (#32476) 2025-08-09 15:25:47 -04:00
multi_buffer sum_tree: Do not implement Dimension on tuples, use new Dimensions wrapper instead (#35482) 2025-08-05 00:37:22 +00:00
nc Claude experiment (#34577) 2025-07-17 14:25:55 +00:00
net windows: Add support for SSH (#29145) 2025-07-08 14:34:57 +00:00
node_runtime Replace async-watch with a custom watch (#32245) 2025-06-06 16:00:09 +00:00
notifications Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
ollama ollama: Add support for gpt-oss (#35648) 2025-08-06 10:44:15 -04:00
onboarding Simplify the lock usage (#35957) 2025-08-10 19:32:25 +00:00
open_ai open_ai: Send prompt_cache_key to improve caching (#36065) 2025-08-12 21:51:23 +03:00
open_router open_router: Fix tool_choice getting serialized to null (#34532) 2025-07-16 11:44:08 -04:00
outline Remove into SelectionEffects from .change_selections (#33554) 2025-06-27 14:31:31 -06:00
outline_panel gpui: Press enter, space to trigger click to focused element (#35075) 2025-08-05 18:15:30 -04:00
panel git panel: Add some design refinements (#34064) 2025-07-08 11:23:36 -03:00
paths paths: Fix using relative path as custom_data_dir (#35256) 2025-07-29 15:31:54 +00:00
picker Simplify ListState API (#35685) 2025-08-06 00:02:26 +00:00
prettier Shutdown language servers better (#35038) 2025-07-24 15:24:53 +00:00
project python: Fix venv activation in remote projects (#36043) 2025-08-12 14:33:46 +00:00
project_panel Project panel faster (#35634) 2025-08-08 14:32:58 +02:00
project_symbols Remove into SelectionEffects from .change_selections (#33554) 2025-06-27 14:31:31 -06:00
prompt_store Add system prompt and tool permission to agent2 (#35781) 2025-08-07 13:40:12 +00:00
proto git: Add ability to clone remote repositories from Zed (#35606) 2025-08-11 15:09:38 +00:00
recent_projects Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
refineable Add a live Rust style editor to inspector to edit a sequence of no-argument style modifiers (#31443) 2025-05-26 17:43:57 +00:00
release_channel Use shortened SHA when displaying version to install (#31281) 2025-05-23 14:53:53 +00:00
remote chore: Move a bunch of foreground tasks into background (#35322) 2025-07-30 10:29:03 +00:00
remote_server Pull action_log into its own crate (#35959) 2025-08-10 21:57:55 +00:00
repl Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
reqwest_client Add minidump crash reporting (#35263) 2025-08-04 18:19:42 -07:00
rich_text Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
rope Reduce amount of allocations in RustLsp label handling (#35786) 2025-08-07 13:24:29 +00:00
rpc Move timing fields into span (#35833) 2025-08-07 23:07:33 +00:00
rules_library Rename remaining mentions of "inline completion" to "edit prediction" (#35512) 2025-08-04 16:22:18 +00:00
schema_generator Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
search Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
semantic_index Simplify ListState API (#35685) 2025-08-06 00:02:26 +00:00
semantic_version Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
session Avoid unnecessary DB writes (#29417) 2025-04-25 17:41:49 +03:00
settings Remove beta tag from cursor keymap (#36061) 2025-08-12 17:53:19 +00:00
settings_profile_selector Tighten up settings profile selector modal width (#35419) 2025-07-31 17:31:12 +00:00
settings_ui Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
snippet Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
snippet_provider Default `#[schemars(deny_unknown_fields)] for json-language-server schemas (#33883) 2025-07-04 00:57:43 +00:00
snippets_ui Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
sqlez Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
sqlez_macros Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
story gpui: Add a standard text example (#30747) 2025-05-16 17:35:44 +02:00
storybook project panel: Add indent guides for sticky items (#34092) 2025-07-09 05:28:25 +05:30
streaming_diff Introduce a new StreamingEditFileTool (#29733) 2025-05-01 17:37:43 +02:00
sum_tree sum_tree: Do not implement Dimension on tuples, use new Dimensions wrapper instead (#35482) 2025-08-05 00:37:22 +00:00
supermaven completions: Add subtle/eager behavior to Supermaven and Copilot (#35548) 2025-08-07 18:27:29 +03:00
supermaven_api supermaven_api: Ensure downloaded Supermaven binary has executable permissions set (#32576) 2025-06-17 14:39:45 +00:00
svg_preview gpui: Store action documentation (#33809) 2025-07-02 21:14:33 -04:00
tab_switcher gpui: Store action documentation (#33809) 2025-07-02 21:14:33 -04:00
task Add support for Nushell in shell builder (#33806) 2025-07-08 14:57:37 +00:00
tasks_ui Revise and clean up some icons (#35582) 2025-08-04 11:58:31 -03:00
telemetry Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
telemetry_events Rename remaining mentions of "inline completion" to "edit prediction" (#35512) 2025-08-04 16:22:18 +00:00
terminal Port terminal tool to agent2 (#35918) 2025-08-11 10:31:13 +00:00
terminal_view Revert "Revert "chore: Bump Rust to 1.89 (#35788)"" (#35937) 2025-08-09 23:48:58 +02:00
text Reduce amount of allocations in RustLsp label handling (#35786) 2025-08-07 13:24:29 +00:00
theme theme: Add support for per-theme overrides (#30860) 2025-08-08 21:17:19 +00:00
theme_extension Add workspace-hack (#27277) 2025-04-02 13:26:34 -07:00
theme_importer theme_importer: Add missing color imports for the minimap thumb (#34724) 2025-07-18 16:55:03 +00:00
theme_selector Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
time_format agent: Add date separators to Thread History (#29961) 2025-05-06 10:18:48 +00:00
title_bar gpui: Allow selection of "Services" menu independent of menu title (#34115) 2025-08-11 21:10:14 +00:00
toolchain_selector python: Fix flickering in the status bar (#36039) 2025-08-12 13:36:28 +00:00
ui Make SwitchField component clickable from the keyboard when focused (#35830) 2025-08-11 16:33:21 +00:00
ui_input keymap editor: Refine how we display matching keystrokes (#35796) 2025-08-07 11:50:11 -03:00
ui_macros Update syn crate from 1.0.109 to 2.0.101 (#31301) 2025-05-23 19:31:25 +00:00
ui_prompt ui_prompt: Fix prompt dialog is hard to see on large screen (#35348) 2025-07-30 23:03:53 +05:30
util python: Fix flickering in the status bar (#36039) 2025-08-12 13:36:28 +00:00
util_macros Remove separator! macro and make path! handle relative paths (#32527) 2025-06-13 06:32:29 +00:00
vercel vercel: Use proper model identifiers and add image support (#33377) 2025-06-25 13:26:41 +00:00
vim vim: Support filename in :tabedit and :tabnew commands (#35775) 2025-08-12 11:13:36 -06:00
vim_mode_setting vim: Fix escape key switching back to default mode instead of normal mode (#31843) 2025-06-18 21:26:12 +00:00
watch chore: Fix warnings for Rust 1.89 (#32378) 2025-06-09 13:11:57 +02:00
web_search Replace zed_llm_client with cloud_llm_client (#35309) 2025-07-30 00:09:14 +00:00
web_search_providers Replace zed_llm_client with cloud_llm_client (#35309) 2025-07-30 00:09:14 +00:00
welcome Redesign and clean up all icons across Zed (#35856) 2025-08-08 15:34:36 -03:00
workspace telemetry: Reduce the amount of telemetry events fired (#36060) 2025-08-12 19:56:27 +00:00
worktree sum_tree: Do not implement Dimension on tuples, use new Dimensions wrapper instead (#35482) 2025-08-05 00:37:22 +00:00
x_ai Add xAI language model provider (#33593) 2025-07-15 15:35:50 -04:00
zed Fix nightly icon (#36051) 2025-08-12 16:18:42 +00:00
zed_actions Introduce settings profiles (#35339) 2025-07-30 21:48:24 +00:00
zeta zeta: Add latency telemetry for 1% of edit predictions (#36020) 2025-08-12 06:47:54 +00:00
zeta_cli Use distinct user agents in agent eval and zeta-cli (#35897) 2025-08-08 23:26:38 +00:00
zlog Add meta description tag to docs pages (#35112) 2025-07-29 23:01:03 +00:00
zlog_settings VSCode Settings import (#29018) 2025-04-23 20:54:09 +00:00