zed/crates
Thorsten Ball adbe973f02
editor: In OpenFile check if file with path_suffix exists (#17805)
Demo:


https://github.com/user-attachments/assets/6acb6c1e-bb15-4205-9dcb-2aa4bb99dcf9



Release Notes:

- When using `OpenFile` (`gf` in Vim mode) and the word under the cursor
is not an existing file path, we now fall back and additionally check
whether a file called
`<word-under-cursor>.<language-specific-path-suffixes>` exists. That's
similar to Vim's `suffixesadd` option.

---------

Co-authored-by: Abdelhakim Qbaich <abdelhakim@qbaich.com>
Co-authored-by: Pete LeVasseur <plevasseur@gmail.com>
2024-09-13 15:11:10 -04:00
..
activity_indicator
anthropic chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
assets
assistant /auto (#16696) 2024-09-13 13:17:49 -04:00
assistant_slash_command
assistant_tool assistant: Add basic tool invocation (#17368) 2024-09-04 14:32:20 -04:00
audio chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
auto_update Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
breadcrumbs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
call Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
channel chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
cli
client Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
clock
collab /auto (#16696) 2024-09-13 13:17:49 -04:00
collab_ui Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
collections
command_palette chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
command_palette_hooks chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
context_servers chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
copilot Fix different kinds values used for worktree_id (#17523) 2024-09-07 00:51:09 -04:00
db chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
dev_server_projects chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
diagnostics Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
docs_preprocessor
editor editor: In OpenFile check if file with path_suffix exists (#17805) 2024-09-13 15:11:10 -04:00
extension zed_extension_api: Fork new version of extension API (#17795) 2024-09-13 10:54:23 -04:00
extension_api zed_extension_api: Use v0.2.0 WIT types (#17802) 2024-09-13 14:49:50 -04:00
extension_cli chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02: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 chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
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 windows: Use the existing open_target function for platform::open_with_system (#17705) 2024-09-12 16:15:20 -04:00
gpui_macros chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
headless chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
html_to_markdown chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
http_client /auto (#16696) 2024-09-13 13:17:49 -04:00
image_viewer chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
indexed_docs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
inline_completion_button chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
install_cli
journal chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
language editor: In OpenFile check if file with path_suffix exists (#17805) 2024-09-13 15:11:10 -04:00
language_model /auto (#16696) 2024-09-13 13:17:49 -04:00
language_selector use ssh lsp store (#17655) 2024-09-10 15:51:01 -04:00
language_tools use ssh lsp store (#17655) 2024-09-10 15:51:01 -04:00
languages typescript: Highlight is predicate keyword & ... spread pattern (#17787) 2024-09-13 08:11:27 -04:00
live_kit_client chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
live_kit_server
lsp lsp: Fix noisy logs when starting language servers (#17713) 2024-09-11 12:56:39 -04:00
markdown Disable definition lists in Markdown (#17648) 2024-09-10 11:16:27 -04:00
markdown_preview use ssh lsp store (#17655) 2024-09-10 15:51:01 -04:00
media
menu
multi_buffer chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
node_runtime chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
notifications
ollama ollama: Add context_size for new "yi-coder" model (#17409) 2024-09-05 11:05:57 -04:00
open_ai assistant: Add display_name for OpenAI and Gemini (#17508) 2024-09-10 13:41:06 -04:00
outline chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
outline_panel Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
paths assistant: Pass up tool results in LLM request messages (#17656) 2024-09-10 15:25:57 -04:00
picker chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
prettier
project lsp: Treat unrooted paths as relative to the worktree root (#17769) 2024-09-12 15:23:27 -04:00
project_panel /auto (#16696) 2024-09-13 13:17:49 -04:00
project_symbols
proto /auto (#16696) 2024-09-13 13:17:49 -04:00
quick_action_bar use ssh lsp store (#17655) 2024-09-10 15:51:01 -04:00
recent_projects Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
refineable
release_channel chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
remote use ssh lsp store (#17655) 2024-09-10 15:51:01 -04:00
remote_server ssh: Lookup language servers in env on SSH host (#17658) 2024-09-10 16:41:29 -04:00
repl Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
rich_text Disable definition lists in Markdown (#17648) 2024-09-10 11:16:27 -04:00
rope chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
rpc chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
search Refactor SearchSettings (#17550) 2024-09-07 19:58:28 -04:00
semantic_index /auto (#16696) 2024-09-13 13:17:49 -04:00
semantic_version
session chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
settings Fix different kinds values used for worktree_id (#17523) 2024-09-07 00:51:09 -04:00
settings_ui chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
snippet
snippet_provider lsp: Watch paths outside of worktrees at language servers request (#17499) 2024-09-06 15:47:17 +02:00
sqlez chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
sqlez_macros
story chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
storybook chore: Another round of style lints fixes (#17519) 2024-09-07 02:36:55 +02:00
sum_tree chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
supermaven chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
supermaven_api chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
tab_switcher
task chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
tasks_ui Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
telemetry_events
terminal Fix parenthesis matching for file links in terminal (#17512) 2024-09-07 10:51:02 -04:00
terminal_view chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
text chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
theme chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
theme_importer chore: Another round of style lints fixes (#17519) 2024-09-07 02:36:55 +02:00
theme_selector
time_format chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
title_bar Fix missing on-mouseup when dragging the window on Linux (#17801) 2024-09-13 11:51:14 -07:00
ui project panel: select autofolded entries (#17520) 2024-09-09 07:22:16 -04:00
ui_input
util Use a bigger prefix for numeric sorting (#17752) 2024-09-12 09:11:19 -04:00
vcs_menu chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
vim editor: In OpenFile check if file with path_suffix exists (#17805) 2024-09-13 15:11:10 -04:00
welcome Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
workspace Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
worktree /auto (#16696) 2024-09-13 13:17:49 -04:00
zed Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
zed_actions