You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to your team work, make it easy and delighting to write zig code in vscode. This is not a bug issue, but a feature advice. When I hover on API, such as std.debug.print, it tells me function sign, but it might be better if user can get some example codes from hover hints, like rust-analyzer and Rust document do. I believe that more developers will love Zig, if you team bring this feature.
The text was updated successfully, but these errors were encountered:
The documentation on the print function is based on the source code comments that are attached to the given function here. This is not something that this extension can change. Instead, the documentation in the standard library should be updated directly by contributing to Zig itself.
Not to deny your issue but the "Hello World" section in the Zig Language Reference explains how to use the std.debug.print function. I would strongly recommend to read through the language reference.
------------------ Original ------------------
From: Techatrix ***@***.***>
Date: Sun,Jan 12,2025 9:19 PM
To: ziglang/vscode-zig ***@***.***>
Cc: JasonZhang ***@***.***>, Author ***@***.***>
Subject: Re: [ziglang/vscode-zig] Add example code into API hints (Issue #378)
The documentation on the print function is based on the source code comments that are attached to the given function here. This is not something that this extension can change. Instead, the documentation in the standard library should be updated directly by contributing to Zig itself.
Not to deny your issue but the "Hello World" section in the Zig Language Reference explains how to use the std.debug.print function. I would strongly recommend to read through the language reference.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Thanks to your team work, make it easy and delighting to write zig code in vscode. This is not a bug issue, but a feature advice. When I hover on API, such as
std.debug.print
, it tells me function sign, but it might be better if user can get some example codes from hover hints, likerust-analyzer
and Rust document do. I believe that more developers will love Zig, if you team bring this feature.The text was updated successfully, but these errors were encountered: