Repository navigation
completion: dont complete function call for doctest name - #2580
Merged
techatrix merged 1 commit intoJan 25, 2026
Merged
Conversation
dotcarmen
commented
Jan 21, 2026
dotcarmen
marked this pull request as draft
January 21, 2026 20:58
dotcarmen
force-pushed
the
dotcarmen/doctest-dont-complete-fn-call
branch
2 times, most recently
from
January 21, 2026 22:16
7f9bd50 to
5f64cc4
Compare
dotcarmen
marked this pull request as ready for review
January 21, 2026 22:32
dotcarmen
force-pushed
the
dotcarmen/doctest-dont-complete-fn-call
branch
from
January 21, 2026 23:31
5f64cc4 to
88c37fe
Compare
dotcarmen
force-pushed
the
dotcarmen/doctest-dont-complete-fn-call
branch
2 times, most recently
from
January 23, 2026 14:59
47c3634 to
a3c3507
Compare
techatrix
requested changes
Jan 24, 2026
techatrix
left a comment
Member
There was a problem hiding this comment.
Hover on a doctest no longer works:
test "doctest" {
try testHover(
\\fn foo() void {}
\\test <cursor>foo {}
,
\\```zig
\\fn foo() void
\\```
\\```zig
\\(fn () void)
\\```
);
}
``
dotcarmen
force-pushed
the
dotcarmen/doctest-dont-complete-fn-call
branch
from
January 25, 2026 13:25
a3c3507 to
ee316c8
Compare
dotcarmen
force-pushed
the
dotcarmen/doctest-dont-complete-fn-call
branch
from
January 25, 2026 13:30
ee316c8 to
7b16ae1
Compare
techatrix
approved these changes
Jan 25, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
this has been bothering me...
when typing the name of a function for a doctest, the current behavior appends call syntax (
(...)) for the doctest. for example:the current behavior results in:
but the behavior should be: