Files
zed/crates
Wuji ChenandClaude Opus 4.6 a5e05937c2 Fix Cmd+click navigating to file instead of definition (#49012)
## Summary

- Tighten `link_pattern_file_candidates` regex from `\(([^)]*)\)` to
`]\(([^)]*)\)` so only Markdown link syntax `[title](path)` triggers
path extraction from parentheses
- Prevents function call arguments like `do_work(file2)` from being
incorrectly resolved as file paths, which preempted LSP go-to-definition

Closes #48938

## Test plan

- [x] `cargo test -p editor hover_links` — all 12 tests pass
- [x] New unit tests verify: function calls don't extract arguments as
file candidates; Markdown links still extract correctly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Release Notes:

- Fixed Cmd+click navigating to file instead of definition in certain
cases

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 12:28:34 +01:00
..
2026-02-12 01:06:23 +00:00
2026-02-25 19:45:01 +00:00
2026-02-12 01:06:23 +00:00
2026-02-26 18:36:50 +01:00
2026-02-26 18:36:50 +01:00
2026-02-26 18:36:50 +01:00
2026-02-26 18:36:50 +01:00
2026-02-19 19:15:59 -05:00
2026-02-12 01:06:23 +00:00
2026-02-26 18:36:50 +01:00
2026-02-26 18:36:50 +01:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2025-11-07 11:36:05 +00:00