是否有 IntelliSense 选项/插件可以在鼠标悬停时显示参数名称?

发布于 2024-12-17 06:00:16 字数 136 浏览 3 评论 0原文

目前,如果我将鼠标停在 MethodA(true, false) 等方法的第二个参数上,工具提示将显示它是 System.Boolean 以及其他一些无趣的信息。是否有选项或第三方插件来显示参数名称和类型?

Currently, if I stop mouse over the second parameter of a method like MethodA(true, false), the tooltip will show that it is System.Boolean and some other uninteresting information. Is there an option or a 3rd party addon to display the parameter name and type instead?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

翻了热茶 2024-12-24 06:00:16

如果您愿意不仅仅使用鼠标,则 Ctrl-Shift-Space 将显示参数信息。

(不幸的是,内置 Intellisense 一次仅显示一个过载 - 我喜欢 ReSharper 的原因之一是它会为您提供一个列表。)

If you're happy to use more than just the mouse, Ctrl-Shift-Space will display parameter information.

(Unfortunately the built-in Intellisense only shows one overload at a time - one of the things I like about ReSharper is that it will offer you a list.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文