Repository navigation
terminal: New settings for path hyperlink regexes #40305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
probably-neb
merged 96 commits into
zed-industries:main
from
davewa:12338-paths-with-spaces
Nov 21, 2025
Merged
Changes from all commits
Commits
Show all changes
96 commits
Select commit
Hold shift + click to select a range
43823c2
Terminal path hyperlink regex settings
davewa b3c5dbd
Add LLVM-style line and column suffix regex
davewa c716de2
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa a6c06ce
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 4079a8d
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa f129099
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 8054973
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 4099ad3
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa b7ed7da
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa a1ed1a8
Settings path_hyperlink_regexes works
davewa dab92b1
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa d89d2c1
Docs, timeout, error handling, logging
davewa 782d4d1
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa dab832f
Add test specifically covering part 2 of #12338
davewa ff308a9
Improve log message
davewa 4ac4d73
Even better log messages
davewa 6ab6be1
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 5d19b04
Small cleanup
davewa 2320358
Don't produce a hyperlink that is not under the cursor
davewa 0df21a3
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 77849b4
Improve default.json documentation for path_hyperlink_regexes
davewa 442870e
Handle multiple matches on the same line, and fix more wide char cases.
davewa c50661f
Improve rust diagnostic tests to handle 'panicked at', 'at' and optional
davewa b3d38c1
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 8738452
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 161b612
Move all path matches to regex, enable unicode punctuation and emoji
davewa 43287a1
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa b2d6c8d
Improve documentation, simplify line:column:desc regexes.
davewa a1ad2f7
Merge code from #40146, add more benches
davewa 99cc816
Add tests for MSBuild-style line column variations, fix default regex
davewa 195a6e0
Fix benchmark regexes ordering
davewa 254ed4a
Fix path_hyperlink_regexes doc comment
davewa 27fa5bd
Consolidate default regexes
davewa 1162f4c
Add bench-support feature
davewa 40beefb
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa d1bd906
Use 500 lines for path hyperlinks benchmarks
davewa f17a185
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa eabee16
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa bbd084f
Upgrade to fancy-regex
davewa 4877f96
Remove dead code
davewa 1bc1982
Use fancy-regex for path hyperlinks
davewa c0de2d9
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa bce030a
Improve default path_hyperlink_regexes, hopefully fix Windows test
davewa 602193f
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 064a985
Don't need (?xs), just (?x)
davewa d974206
Improve path_hyperlink_regexes documentation
davewa 5a909dc
Rename Python regex
davewa d032d4b
Add code comment explaining why we don't use Term::bounds_to_string
davewa afcf38f
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 7e821d6
Improve documentation
davewa 71c2008
Update test case name for #39189
davewa 3af713e
Simplify regexes, fix trailing punctuation, add tests
davewa 091b7da
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 5c13d42
Simplify regex
davewa 526381f
Eliminate one default regex, improve the remaining, adding Windows UNC
davewa bf7d6a5
Because of course that prefix has no effect...
davewa ef11767
And then there was one... first try!!!
davewa 54fed77
Move bench into terminal_hyperlinks
davewa 293a516
Cleanup closer return types
davewa 0b16595
Tidy
davewa 8076e49
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa e529038
Tweaks
davewa 70d0d01
Looking into the future...
davewa c4dff4e
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 6b13f0b
Cleanup closures, simplify
davewa 1bb9b5b
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 7505e36
Use regexes from default.json in tests
davewa 84136ce
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 6188490
Add test coverage for custom regexes with line and column, improve
davewa 5e6b433
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 5b4746a
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 65035eb
Simplify default path hyperlink regex
davewa 0e47206
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 49f4fae
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 20dd3a9
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 1ee3c65
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 8ddbc51
Merge two log messages into one
davewa c148c5f
Small improvement of row and column processing
davewa 26d8a13
Allow single string or array of strings for path_hyperlink_regexes in
davewa 18d1e5d
Default timeout for path hyperlinking is now 1ms, disable hyperlinking
davewa f27d5cc
Move path_hyperlink_regexes into terminal project settings
davewa 0660621
Add path_hyperlink_regexes to configuring-zed.md docs
davewa d276233
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa caf01d5
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa ddd8bbe
criterion -> #[perf]
davewa 8b7cda1
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa b6fa4e0
Prettier (hopefully)
davewa 8226f91
...and docs
davewa 8d0c1e8
Simplify default.json comment
davewa 7b82d08
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 1b0a9be
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa e0a9e02
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 8f8dc96
Add `link` capture group to preserve existing Python path hyperlink
davewa c1243b2
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa 9cec35a
Use the entire match text unless `link` is specified
davewa 718ec5a
Merge remote-tracking branch 'origin/main' into 12338-paths-with-spaces
davewa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.