Qt Creator 中的 Ctrl+Shift+Space 等效吗?

发布于 2024-12-23 08:49:01 字数 297 浏览 2 评论 0原文

在 Visual Studio 中(至少使用 VAssistX),我可以使用 Ctrl+Shift+Space 为光标当前所在的任何函数显示这种工具提示。在 Qt Creator 中,仅当您第一次键入函数调用时才会显示此工具提示,所以我必须删除左括号,然后再次输入,这会欺骗编辑器我刚刚开始输入函数调用并显示工具提示。

输入图像描述这里

In Visual Studio (with VAssistX at least), I can use Ctrl+Shift+Space to show this kind of tooltip for any function in which the cursor is currently in. In Qt Creator this tooltip is shown only when you first type the function call, so I have to go and delete the opening parenthesis, then type it again, which fools the editor that I just started typing function call and it shows the tooltip.

enter image description here

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

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

发布评论

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

评论(1

疯到世界奔溃 2024-12-30 08:49:01

如果当光标位于函数左大括号的任一侧时按 Ctrl+Space,则 Qt Creator 将显示工具提示。

您还可以编写一个逗号(然后将其删除)来强制显示工具提示 - 在大括号之间的任意位置编写一个逗号将显示工具提示。

If you press Ctrl+Space when the cursor is on either side of the opening brace of the function then Qt Creator shows the tooltip.

You can also write a comma (and then delete it) to force the tooltip to appear - writing a comma anywhere between the braces will show the tooltip.

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