ZIm/crates
张小白 d8980c25d2
windows: Remove extra empty line when loading default settings (#30344)
On Windows, lines in a file end with `\r\n`, so using
`chunk.split('\n')` leaves a trailing `\r` at the end of each line. This
ends up introducing extra blank lines in the final output.

I didn't use `chunk.split('\r\n')` because some of the input have
already had its line endings normalized to just `\n`. If we switch to
splitting on `\r\n`, that input wouldn't be handled correctly.

#### Before


https://github.com/user-attachments/assets/22cc5a79-c3a7-4824-a3bc-d66d2261852f

#### After



https://github.com/user-attachments/assets/720f1d67-75e6-482d-b6a5-9f3aa9f321ce



Release Notes:

- N/A
2025-05-09 19:00:16 +08:00
..
activity_indicator Add a way to clear activity indicator (#30156) 2025-05-07 17:50:52 +00:00
agent Include EditAgent's raw output when inspecting thread (#30337) 2025-05-09 06:58:45 +00:00
anthropic Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
askpass Fix license symlinks (#29758) 2025-05-01 19:24:14 +00:00
assets
assistant_context_editor Add minimap into the editor controls (#30285) 2025-05-08 17:58:24 +00:00
assistant_settings assistant_context_editor: Remove suggest edits (#30286) 2025-05-08 17:27:49 +00:00
assistant_slash_command
assistant_slash_commands assistant_slash_commands: Be more precise in content type matching (#29124) 2025-05-06 04:38:03 +00:00
assistant_tool Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
assistant_tools Include EditAgent's raw output when inspecting thread (#30337) 2025-05-09 06:58:45 +00:00
audio
auto_update Add a way to clear activity indicator (#30156) 2025-05-07 17:50:52 +00:00
auto_update_helper
auto_update_ui Restyle notification close control (#30262) 2025-05-08 14:10:30 +00:00
aws_http_client
bedrock Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
breadcrumbs
buffer_diff
call
channel
cli
client language_models: Improve subscription states in the Agent configuration view (#30252) 2025-05-08 09:10:50 -04:00
clock Add the ability to follow the agent as it makes edits (#29839) 2025-05-04 08:28:39 +00:00
collab collab: Check if the user has a payment method before upgrading to Zed Pro (#30310) 2025-05-08 20:58:36 +00:00
collab_ui Use ESC to cancel dragging in Zed (#30318) 2025-05-08 22:58:38 +00:00
collections
command_palette Simplify the SerializableItem::cleanup implementation (#29567) 2025-04-28 22:15:24 +00:00
command_palette_hooks
component component: Component crate cleanup (#29967) 2025-05-06 03:41:52 +00:00
component_preview component: Component crate cleanup (#29967) 2025-05-06 03:41:52 +00:00
context_server context_store: Refactor state management (#29910) 2025-05-05 21:36:12 +02:00
copilot Make copilot::SignIn open sign-in modal when needed (#30239) 2025-05-08 14:52:07 +00:00
credentials_provider
dap debugger: Fix up Rust test tasks definitions (#30232) 2025-05-08 14:39:56 +02:00
dap_adapters Add rdbg for Ruby (#30126) 2025-05-08 09:37:20 +01:00
db Simplify the SerializableItem::cleanup implementation (#29567) 2025-04-28 22:15:24 +00:00
debugger_tools debugger: Run build in terminal (#29645) 2025-05-05 20:08:14 +00:00
debugger_ui Use ESC to cancel dragging in Zed (#30318) 2025-05-08 22:58:38 +00:00
deepseek
diagnostics Allow to temporarily toggle diagnostics in the editor (#30316) 2025-05-08 21:47:32 +00:00
docs_preprocessor
editor editor: Fix function completion expansion in string contexts and call expressions (#30351) 2025-05-09 14:52:52 +05:30
eval Include EditAgent's raw output when inspecting thread (#30337) 2025-05-09 06:58:45 +00:00
extension debugger/extensions: Revert changes to extension store related to language config (#30225) 2025-05-08 14:01:39 +02:00
extension_api zed_extension_api: Release v0.5.0 (#29802) 2025-05-02 15:58:54 +00:00
extension_cli
extension_host debugger/extensions: Revert changes to extension store related to language config (#30225) 2025-05-08 14:01:39 +02:00
extensions_ui Suggest nim extension for *.nim files (#29912) 2025-05-05 11:46:42 +00:00
feature_flags agent: Remove feature flag checks (#30055) 2025-05-06 21:38:05 -04:00
feedback
file_finder Allow opening the FS root dir as a remote project (#30190) 2025-05-07 16:50:57 -07:00
file_icons
fs windows: Remove extra empty line when loading default settings (#30344) 2025-05-09 19:00:16 +08:00
fsevent
fuzzy Properly score fuzzy match queries with multiple chars in lower case (#29794) 2025-05-02 15:02:53 +00:00
git Improve handling of remote-tracking branches in the picker (#29744) 2025-05-01 21:24:26 -04:00
git_hosting_providers
git_ui Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
go_to_line editor: Add minimap (#26893) 2025-05-07 23:11:09 +03:00
google_ai Add support for getting the token count for all parts of Gemini generation requests (#29630) 2025-05-04 21:32:45 +00:00
gpui gpui: Bump blade, objc2, objc2-metal, and naga (#30347) 2025-05-09 11:40:12 +03:00
gpui_macros
gpui_tokio
html_to_markdown
http_client Remove individual URL overrides for LLM service (#30290) 2025-05-08 17:54:46 +00:00
http_client_tls
icons agent: Make feedback buttons more minimal (#30133) 2025-05-07 12:43:46 -03:00
image_viewer Add the ability to follow the agent as it makes edits (#29839) 2025-05-04 08:28:39 +00:00
indexed_docs indexed_docs: Remove some unnecessary cloning (#30236) 2025-05-08 10:59:56 +00:00
inline_completion
inline_completion_button Add a divider below "Usage" in the Edit Prediction menu (#30284) 2025-05-08 14:19:51 -03:00
install_cli
journal
language editor: Fix function completion expansion in string contexts and call expressions (#30351) 2025-05-09 14:52:52 +05:30
language_extension debugger/extensions: Revert changes to extension store related to language config (#30225) 2025-05-08 14:01:39 +02:00
language_model Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
language_model_selector agent: Remove feature flag checks (#30055) 2025-05-06 21:38:05 -04:00
language_models bedrock: Fix UX bug (#28350) 2025-05-08 22:09:18 +00:00
language_selector
language_tools
languages editor: Fix function completion expansion in string contexts and call expressions (#30351) 2025-05-09 14:52:52 +05:30
livekit_api
livekit_client
lmstudio lmstudio: Fix streaming not working in v0.3.15 (#30013) 2025-05-06 12:59:36 -04:00
lsp lsp: Don't log oneshot channel errors from notify (#29857) 2025-05-05 08:21:45 -04:00
markdown Implement rendering of images with data urls in markdown (#30322) 2025-05-08 18:26:24 -07:00
markdown_preview Use image cache to stop leaking images (#29452) 2025-04-29 19:30:16 +00:00
media
menu agent: Add new panel navigation dropdown (#29539) 2025-04-29 21:58:45 -03:00
migrator settings: Migration for fixing duplicated agent keys (#30237) 2025-05-08 12:38:19 +00:00
mistral mistral: Add new Mistral medium model (#30171) 2025-05-07 21:57:15 -04:00
multi_buffer agent: Review edits in single-file editors (#29820) 2025-05-02 17:57:16 -03:00
node_runtime reqwest_client: Only register proxies with valid proxy URIs (#27773) 2025-04-28 11:12:16 -04:00
notifications
ollama Improve Ollama tool use (#30120) 2025-05-07 15:37:06 +00:00
open_ai
outline
outline_panel editor: Remove extra quotes from outline search term (#29829) 2025-05-06 10:50:33 +03:00
panel
paths debugger: Update New Session Modal (#30018) 2025-05-08 16:19:14 +00:00
picker debugger: Add debug task picker to new session modal (#29702) 2025-05-02 08:38:29 +00:00
prettier
project debugger: Shutdown debug adapter client on terminated event (#30278) 2025-05-09 09:24:28 +00:00
project_panel Use ESC to cancel dragging in Zed (#30318) 2025-05-08 22:58:38 +00:00
project_symbols
prompt_store assistant_context_editor: Remove suggest edits (#30286) 2025-05-08 17:27:49 +00:00
proto language_models: Improve subscription states in the Agent configuration view (#30252) 2025-05-08 09:10:50 -04:00
recent_projects Allow opening the FS root dir as a remote project (#30190) 2025-05-07 16:50:57 -07:00
refineable
release_channel
remote Add a test for remote tool use by the agent (#30289) 2025-05-08 16:53:04 -04:00
remote_server Add a test for remote tool use by the agent (#30289) 2025-05-08 16:53:04 -04:00
repl Implement rendering of images with data urls in markdown (#30322) 2025-05-08 18:26:24 -07:00
reqwest_client Fix license symlinks (#29758) 2025-05-01 19:24:14 +00:00
rich_text
rope
rpc
rules_library Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
schema_generator
search search: Ensure inputs located in the toolbar match the background color of the toolbar (#30355) 2025-05-09 12:47:26 +03:00
semantic_index Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
semantic_version
session
settings Fall back to old key when loading agent settings (#30001) 2025-05-06 14:31:38 +00:00
settings_ui
snippet
snippet_provider
snippets_ui
sqlez Simplify the SerializableItem::cleanup implementation (#29567) 2025-04-28 22:15:24 +00:00
sqlez_macros
story
storybook
streaming_diff Introduce a new StreamingEditFileTool (#29733) 2025-05-01 17:37:43 +02:00
sum_tree
supermaven
supermaven_api
tab_switcher
task debugger: Update New Session Modal (#30018) 2025-05-08 16:19:14 +00:00
tasks_ui debugger: Add debug task picker to new session modal (#29702) 2025-05-02 08:38:29 +00:00
telemetry
telemetry_events
terminal Do not flicker when switching cmd-hovered words in terminal (#30098) 2025-05-07 11:04:11 +00:00
terminal_view Add a terminal::RerunTask action (#30288) 2025-05-08 17:39:52 +00:00
text
theme theme: Add scrollbar_thumb_active_background color (#30177) 2025-05-07 23:15:32 +03:00
theme_extension
theme_importer theme: Add scrollbar_thumb_active_background color (#30177) 2025-05-07 23:15:32 +03:00
theme_selector
time_format agent: Add date separators to Thread History (#29961) 2025-05-06 10:18:48 +00:00
title_bar title_bar: Add link indicator to current plan entry in user menu (#30153) 2025-05-07 14:25:38 -04:00
toolchain_selector
ui Fix panel button context menu overlap with tooltip hint (#30108) 2025-05-07 12:33:13 +00:00
ui_input
ui_macros
ui_prompt
util Better match path-like strings in terminal (#30087) 2025-05-07 14:47:23 +00:00
util_macros Fix license symlinks (#29758) 2025-05-01 19:24:14 +00:00
vim Add :h[elp] vim command (#30179) 2025-05-07 17:26:42 -07:00
vim_mode_setting
web_search
web_search_providers Remove individual URL overrides for LLM service (#30290) 2025-05-08 17:54:46 +00:00
welcome welcome: Theme preview tile (#29689) 2025-04-30 17:46:11 +00:00
workspace Use ESC to cancel dragging in Zed (#30318) 2025-05-08 22:58:38 +00:00
worktree Allow opening the FS root dir as a remote project (#30190) 2025-05-07 16:50:57 -07:00
zed chore: remove redundant word in comment (#30338) 2025-05-09 07:33:20 +00:00
zed_actions Add :h[elp] vim command (#30179) 2025-05-07 17:26:42 -07:00
zeta Add minimap into the editor controls (#30285) 2025-05-08 17:58:24 +00:00
zlog zlog: Fall back to printing module path instead of *unknown* or just crate name (#29691) 2025-05-01 10:59:51 -04:00
zlog_settings