Skip to content

Optional and pointer struct parameter and assignments completions/hover - #3260

Open
psznm wants to merge 1 commit into
zigtools:masterfrom
psznm:optional-and-ptr-param-struct-completions
Open

Optional and pointer struct parameter and assignments completions/hover#3260
psznm wants to merge 1 commit into
zigtools:masterfrom
psznm:optional-and-ptr-param-struct-completions

Conversation

@psznm

@psznm psznm commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Resolves #3259
Resolves #3160

I have added quite a few tests here, several commented that do not work but I think should. I think those may be due to the fragile parser, but I haven't spent too much time on investigating. I am not willing to spend much time on something broken due to the parser - I already went down a little rabbit hole. But if you think it is not parsers fault, I could give it some more time.

@psznm
psznm marked this pull request as draft September 2, 2026 19:55
@psznm
psznm force-pushed the optional-and-ptr-param-struct-completions branch 2 times, most recently from e946479 to 799e0e3 Compare September 5, 2026 15:10
@psznm
psznm force-pushed the optional-and-ptr-param-struct-completions branch from 799e0e3 to fe2ad9b Compare September 5, 2026 16:23
@psznm
psznm marked this pull request as ready for review September 5, 2026 16:25
@psznm psznm changed the title Optional and pointer strct parameter completions Optional and pointer strct parameter completions, and optional struct assignment completions and hover Sep 5, 2026
@psznm psznm changed the title Optional and pointer strct parameter completions, and optional struct assignment completions and hover Optional and pointer struct parameter and assignments completions/hover Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Struct optional and ptr parameters do not get completed Struct initialization of optional pointer doesn't get resolved

1 participant