zed/crates
Danilo Leal 671c3e723e
git_ui: Add button for the branch diff action (#49298)
This PR adds a button in the Git Panel to open the `git: branch diff`
view. The button only shows if the staging area is clean/no changes and
if the branch is not main/master. I've been using this action so much
these days and we should expose it on the UI so it's more discoverable.

<img width="500" height="1736" alt="Screenshot 2026-02-16 at 6  30@2x"
src="https://github.com/user-attachments/assets/0b037811-2167-419f-b63f-9bdb12e4352e"
/>

Release Notes:

- N/A
2026-02-16 18:51:35 -03:00
..
acp_thread copilot: Display cost multiplier for Github Copilot models (#44800) 2026-02-16 15:24:59 -03: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 copilot: Display cost multiplier for Github Copilot models (#44800) 2026-02-16 15:24:59 -03:00
agent_servers Replace always_allow_tool_actions with tool_permissions.default (#48553) 2026-02-10 18:57:31 -05:00
agent_settings Remove Agents Panel and utility panes (#49038) 2026-02-12 15:46:10 -05:00
agent_ui copilot: Display cost multiplier for Github Copilot models (#44800) 2026-02-16 15:24:59 -03: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: Get available audio devices lazily when first required (#49115) 2026-02-13 20:10:47 +01:00
auto_update util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
auto_update_helper auto_update: Ignore dir removal errors on windows (#42435) 2025-11-11 12:55:19 +00:00
auto_update_ui auto_update_ui: Set a title when viewing release notes locally (#49153) 2026-02-14 10:34:51 +00:00
aws_http_client
bedrock language_models: Add image support for Bedrock (#47673) 2026-02-13 12:41:14 +01: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 Use cloud for auto-update (#42246) 2025-11-10 23:00:55 -07:00
cloud_api_types Move extension API DTOs into cloud_api_types (#48689) 2026-02-07 17:54:29 +00:00
cloud_llm_client cloud_llm_client: Add StreamEnded and Unknown variants to CompletionRequestStatus (#49121) 2026-02-16 15:39:47 +01:00
codestral Fix Codestral API key credentials URL mismatch (#48513) 2026-02-05 17:34:34 -05:00
collab collab: Update test database schema (#49242) 2026-02-15 22:59:16 +00: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 util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
copilot_chat copilot: Display cost multiplier for Github Copilot models (#44800) 2026-02-16 15:24:59 -03: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 util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
db Increase SQLite busy_timeout from 1ms to 500ms (#49039) 2026-02-12 16:26:13 +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 deepseek: Fix for max output tokens blocking completions (#45236) 2025-12-18 12:47:34 +00:00
denoise
dev_container util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01: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: Fix panic when merging events from different buffers (#49097) 2026-02-13 13:26:03 +00:00
edit_prediction_cli Unify zeta endpoints (#48900) 2026-02-12 15:24:24 -05:00
edit_prediction_context Unify zeta endpoints (#48900) 2026-02-12 15:24:24 -05: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 Separate accepted edit predictions in edit history (#49056) 2026-02-13 00:15:59 +00:00
editor editor: Fix sticky headers not accounting for deleted diff hunks (#49296) 2026-02-16 21:22:27 +00:00
encoding_selector Revert PRs for landing in main (#48969) 2026-02-12 00:28:17 +00:00
eval util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
eval_utils Fix self-referential symbolic link (#45265) 2025-12-18 17:26:20 +01:00
explorer_command_injector
extension extension: Make provides a method on ExtensionManifest (#49234) 2026-02-15 12:12:09 -05:00
extension_api extension_api: Add digest to GithubReleaseAsset (#48413) 2026-02-05 12:13:02 +00:00
extension_cli extension: Make provides a method on ExtensionManifest (#49234) 2026-02-15 12:12:09 -05:00
extension_host util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
extensions_ui extensions_ui: Apply category filter to dev extensions (#48954) 2026-02-15 21:51:23 -05:00
feature_flags agent_ui: Ship thinking effort selection for Zed provider (#49274) 2026-02-16 11:58:35 -05:00
feedback
file_finder file_finder: Remove project's root name from the file finder history (#46957) 2026-02-13 16:05:40 +00:00
file_icons
fs util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
fs_benchmarks
fuzzy fuzzy: Use lowercase representations for matrix size calculation (#44338) 2025-12-08 19:50:20 +01:00
git util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
git_graph git_graph: Add resizable commit view support (#49171) 2026-02-16 13:34:16 +00:00
git_hosting_providers Implement extract_pull_request for GitLab provider (#47973) 2026-01-31 21:56:34 +00:00
git_ui git_ui: Add button for the branch diff action (#49298) 2026-02-16 18:51:35 -03:00
go_to_line Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
google_ai google_ai: Refactor token count methods in Google AI (#45184) 2025-12-17 20:12:40 -06:00
gpui workspace: Fix read-only button tooltip for non-toggleable buffers (#48998) 2026-02-16 20:11:37 +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 Remove reqwest dependency from gpui (#44424) 2025-12-09 09:29:40 -08:00
http_client_tls
icons git_ui: Fix graph icon button design in the panel (#49099) 2026-02-13 10:39:30 -03:00
image_viewer editor: Put more syntax walking features on the background (#48450) 2026-02-05 09:31:11 +00:00
inspector_ui util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01: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 language: Respect combined injection sub-ranges for language queries (#48522) 2026-02-13 12:06:34 +01:00
language_extension lsp: Add container_name to lsp::Symbol (#46822) 2026-02-04 23:03:15 +01:00
language_model copilot: Display cost multiplier for Github Copilot models (#44800) 2026-02-16 15:24:59 -03:00
language_models copilot: Display cost multiplier for Github Copilot models (#44800) 2026-02-16 15:24:59 -03:00
language_onboarding
language_selector build: Simplify build graph (#47253) 2026-01-23 18:29:20 +01:00
language_tools Potentially fix hang when opening LSP menu (#49046) 2026-02-12 17:55:36 +00:00
languages languages: Fix C++ indentation for multi-line declarations and assignments (#47447) 2026-02-17 00:48:59 +05:30
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 util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
markdown markdown: Fix markdown table selection hit testing (#47720) 2026-02-02 16:37:58 +00:00
markdown_preview auto_update_ui: Set a title when viewing release notes locally (#49153) 2026-02-14 10:34:51 +00: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 mistral: Add x-affinity header (#48584) 2026-02-13 12:03:05 +00:00
multi_buffer multi_buffer: Fix update_path_excerpts inserting excerpts out of order (#49290) 2026-02-16 20:07:14 +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 util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
notifications gpui: Actually remove the Result from AsyncApp (#45809) 2026-01-07 12:48:24 -08:00
ollama ollama: Remove backwards compatibility for Ollama tool call IDs (#49246) 2026-02-16 14:33:29 +00:00
onboarding Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
open_ai Remove deprecated GPT-4o, GPT-4.1, GPT-4.1-mini, and o4-mini (#49082) 2026-02-13 04:54:22 +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 debugger: Fix panic at non-UTF-8 character in paths on Linux (#49103) 2026-02-14 10:38:04 +00:00
project_benchmarks ep_cli: Fix "Too many open files" errors (#47243) 2026-01-20 15:41:31 -05:00
project_panel file_finder: Remove project's root name from the file finder history (#46957) 2026-02-13 16:05:40 +00: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 recent_projects: Check for WSL paths in OpenFolderInWsl (#49156) 2026-02-14 08:17:29 +00:00
refineable gpui: Make refining a Style properly refine the TextStyle (#42852) 2025-12-15 13:30:13 +00:00
release_channel release_version: Do not use prerelease field (#43669) 2025-11-27 13:46:43 +00:00
remote util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
remote_connection build: Decouple git_ui from recent_projects (#48062) 2026-02-02 13:30:07 +01:00
remote_server util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
repl util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01: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 Add project settings schema to schema_generator CLI (#44321) 2025-12-16 10:48:14 -05:00
search search: Fix collapse/expand all button sync (#48773) 2026-02-16 12:55:16 +00:00
session Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
settings agent: Add project-level disable_ai setting (#47902) 2026-02-13 11:57:43 -06:00
settings_content Revert proejct search on type (#49163) 2026-02-14 08:31:30 +00:00
settings_json
settings_macros Fallible Settings (#42938) 2025-11-21 08:28:17 -07:00
settings_profile_selector Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
settings_ui Remove dependency on bm25. Use exact prefix match in settings UI search instead (#49231) 2026-02-15 13:24:33 -05:00
shell_command_parser Extract shell_command_parser into shared crate (#48660) 2026-02-09 08:56:21 -05:00
sidebar workspace: Use FolderOpen icon for active workspace project (#49180) 2026-02-16 13:23:27 +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 util: Always use posix_spawn on macOS even with pre_exec hooks (#49090) 2026-02-13 20:16:11 +01:00
supermaven_api collab: Remove Supermaven API key issuance (#46044) 2026-01-04 23:28:18 +00:00
svg_preview svg_preview: Fix SVG preview opening duplicate tabs (#49250) 2026-02-16 13:46:28 +05:30
system_specs releases: Add build number to Nightly builds (#42990) 2025-11-24 13:34:04 +01:00
tab_switcher vim: Make :bdelete use new workspace::CloseItemInAllPanes command (#48988) 2026-02-12 12:33:51 +00:00
task Fix VSCode tasks.json parsing for tasks without explicit labels (#47754) 2026-02-12 16:30:47 +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 terminal: Fix hyperlinks not being detected correctly when preceded by box-drawing chars (#48447) 2026-02-13 10:19:43 -06:00
terminal_view terminal: Normalize path-like targets with leading .. (#47289) 2026-02-13 09:46:18 -06: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 Allow dynamic set_theme based on Appearance (#42812) 2025-12-01 20:52:57 -07:00
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 copilot: Display cost multiplier for Github Copilot models (#44800) 2026-02-16 15:24:59 -03:00
ui_input build: Decouple git_ui from recent_projects (#48062) 2026-02-02 13:30:07 +01:00
ui_macros
ui_prompt
util project_panel: Fix mixed sort with incorrect ordering when same file and dir name (#47863) 2026-02-16 19:08:13 +05:30
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 Automate settings registration (#42238) 2025-11-07 22:27:14 +00:00
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 Add Vim-like Which-key Popup menu (#43618) 2025-12-17 11:53:48 -07:00
workspace workspace: Fix read-only button tooltip for non-toggleable buffers (#48998) 2026-02-16 20:11:37 +00:00
worktree workspace: Fix read-only button tooltip for non-toggleable buffers (#48998) 2026-02-16 20:11:37 +00:00
worktree_benchmarks project: Always allocate WorktreeIDs on the remote client (#47936) 2026-01-29 15:31:13 +00:00
x_ai Add support for Grok 4.1 Fast models in xAI provider (#43419) 2025-12-08 16:38:34 +01:00
zed Streamline Markdown notification rendering (#48162) 2026-02-16 10:31:44 -03:00
zed_actions Remove Agents Panel and utility panes (#49038) 2026-02-12 15:46:10 -05:00
zed_env_vars Enable configuring edit prediction providers through the settings UI (#44505) 2025-12-13 11:06:30 -05:00
zeta_prompt ep: Don't run predictions for excerpts with special tokens (#49040) 2026-02-13 13:47:28 +02:00
zlog gpui: Remove blade, reimplement linux renderer with wgpu (#46758) 2026-02-13 02:55:42 -05:00
zlog_settings Automate settings registration (#42238) 2025-11-07 22:27:14 +00:00
ztracing ztracing: Annotate more callsites that invoke TreeSitter (#47522) 2026-02-11 11:24:04 +00:00
ztracing_macro adds tracing for instrumenting non-async functions (#44147) 2025-12-05 17:23:06 +00:00