zed/crates
Kevin Wang c48584fb79
supermaven: Fix incorrect offset calculation (#17925)
Fixes a bug in https://github.com/zed-industries/zed/pull/17578 when
computing the offset. Specifically, `offset.add_assign()` should be
incremented on every loop match instead of only when the completion text
is found.

Before:


![image](https://github.com/user-attachments/assets/cc09dbf9-03e8-4453-a1c7-11f838c1d959)

After:


![image](https://github.com/user-attachments/assets/f3513769-d9e1-451f-97dc-b9ad3a57ce3a)

Release Notes:

- Fixed a wrong offset calculation in the Supermaven inline completion
provider.
2024-09-17 16:04:33 +02:00
..
activity_indicator Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
anthropic
assets add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
assistant Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
assistant_slash_command Fix more bugs in files (#16241) 2024-08-16 10:09:38 -07:00
assistant_tool
audio Update Rust crate rodio to 0.19.0 (#17389) 2024-09-16 21:55:32 -06:00
auto_update Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
breadcrumbs
call Fix renames over language server for SSH remoting (#17897) 2024-09-16 16:20:17 -06:00
channel Fix renames over language server for SSH remoting (#17897) 2024-09-16 16:20:17 -06:00
cli
client Move ProtoClient to RPC crate, behind feature flag disabled in collab (#17908) 2024-09-16 14:50:30 -07:00
clock
collab Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
collab_ui Fix renames over language server for SSH remoting (#17897) 2024-09-16 16:20:17 -06:00
collections
command_palette
command_palette_hooks
context_servers context_servers: Hide actions when no context servers are configured (#17833) 2024-09-14 17:00:37 -04:00
copilot Return completion proposals from inline completion providers (#17578) 2024-09-16 20:57:58 -06:00
db
dev_server_projects
diagnostics tab_switcher: Add file and project search icons (#17115) 2024-09-17 14:48:05 +02:00
docs_preprocessor
editor editor: Fix cursor_shape regression by not setting it to "bar" (#17934) 2024-09-17 15:37:43 +02:00
extension Fix panic in wasm extensions (#17922) 2024-09-16 21:35:28 -06:00
extension_api zed_extension_api: Use v0.2.0 WIT types (#17802) 2024-09-13 14:49:50 -04:00
extension_cli Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
extensions_ui Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
feature_flags /auto (#16696) 2024-09-13 13:17:49 -04:00
feedback
file_finder chore: Another round of style lints fixes (#17519) 2024-09-07 02:36:55 +02:00
file_icons
fs /auto (#16696) 2024-09-13 13:17:49 -04:00
fsevent
fuzzy
git /auto (#16696) 2024-09-13 13:17:49 -04:00
git_hosting_providers
go_to_line Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
google_ai assistant: Add display_name for OpenAI and Gemini (#17508) 2024-09-10 13:41:06 -04:00
gpui x11: Fix preedit for CJK and partially fix unresponsive keyboard with xim (#17373) 2024-09-16 18:46:03 -06:00
gpui_macros add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
headless
html_to_markdown
http_client /auto (#16696) 2024-09-13 13:17:49 -04:00
image_viewer
indexed_docs
inline_completion_button
install_cli
journal
language project: Update variable and change comment (#17933) 2024-09-17 14:33:53 +02:00
language_model Ollama: Specify keep_alive via settings (#17906) 2024-09-16 18:47:25 -04:00
language_selector use ssh lsp store (#17655) 2024-09-10 15:51:01 -04:00
language_tools Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
languages rust: Fix looking up rust-analyzer in $PATH by default (#17926) 2024-09-17 10:17:03 +02:00
live_kit_client
live_kit_server
lsp lsp: Fix noisy logs when starting language servers (#17713) 2024-09-11 12:56:39 -04:00
markdown ssh lsp completions (#17665) 2024-09-16 12:22:39 -06:00
markdown_preview Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
media
menu
multi_buffer Fix renames over language server for SSH remoting (#17897) 2024-09-16 16:20:17 -06:00
node_runtime
notifications
ollama
open_ai OpenAI o1-preview and o1-mini support (#17796) 2024-09-13 16:23:55 -04:00
outline Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
outline_panel Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
paths assistant: Pass up tool results in LLM request messages (#17656) 2024-09-10 15:25:57 -04:00
picker
prettier
project project: Update variable and change comment (#17933) 2024-09-17 14:33:53 +02:00
project_panel Refine symbolic link project tooltip (#17869) 2024-09-16 08:12:24 -03:00
project_symbols Fix renames over language server for SSH remoting (#17897) 2024-09-16 16:20:17 -06:00
proto Fix renames over language server for SSH remoting (#17897) 2024-09-16 16:20:17 -06:00
quick_action_bar Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
recent_projects Add stray UI polish to the SSH flow (#17798) 2024-09-13 17:05:34 -03:00
refineable
release_channel
remote Move ProtoClient to RPC crate, behind feature flag disabled in collab (#17908) 2024-09-16 14:50:30 -07:00
remote_server See language server status on remote (#17912) 2024-09-16 17:05:26 -06:00
repl Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
rich_text Disable definition lists in Markdown (#17648) 2024-09-10 11:16:27 -04:00
rope
rpc Move ProtoClient to RPC crate, behind feature flag disabled in collab (#17908) 2024-09-16 14:50:30 -07:00
search Refactor SearchSettings (#17550) 2024-09-07 19:58:28 -04:00
semantic_index Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
semantic_version
session
settings Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
settings_ui
snippet
snippet_provider lsp: Watch paths outside of worktrees at language servers request (#17499) 2024-09-06 15:47:17 +02:00
sqlez
sqlez_macros
story
storybook add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
sum_tree
supermaven supermaven: Fix incorrect offset calculation (#17925) 2024-09-17 16:04:33 +02:00
supermaven_api
tab_switcher tab_switcher: Add file and project search icons (#17115) 2024-09-17 14:48:05 +02:00
task
tasks_ui Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
telemetry_events
terminal Add Python venv activation support for Windows and PowerShell (#17839) 2024-09-17 11:17:29 +02:00
terminal_view tab_switcher: Add file and project search icons (#17115) 2024-09-17 14:48:05 +02:00
text
theme Use AppContext for UI font adjustments (#17858) 2024-09-16 22:23:03 -06:00
theme_importer chore: Another round of style lints fixes (#17519) 2024-09-07 02:36:55 +02:00
theme_selector
time_format
title_bar Fix missing on-mouseup when dragging the window on Linux (#17801) 2024-09-13 11:51:14 -07:00
ui Refine assistant config UI (#17871) 2024-09-16 08:12:07 -03:00
ui_input
ui_macros Add ui_macros crate & DerivePathStr derive macro (#17811) 2024-09-13 16:45:16 -04:00
util Use a bigger prefix for numeric sorting (#17752) 2024-09-12 09:11:19 -04:00
vcs_menu
vim Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
welcome Welcome tweaks (#17874) 2024-09-16 08:29:46 -04:00
workspace Don't show extra row in toolbar if it is empty (#17888) 2024-09-16 12:00:49 -04:00
worktree Move ProtoClient to RPC crate, behind feature flag disabled in collab (#17908) 2024-09-16 14:50:30 -07:00
zed Upgrade tree sitter and all grammars (#17734) 2024-09-16 17:10:57 -07:00
zed_actions