Visual Studio 2022如何仅在选项卡上自动完成?

发布于 2025-01-23 14:14:56 字数 187 浏览 2 评论 0原文

目前,Visual Studio 2022将自动完成我在正常编码中使用的整个字符,例如(和Space。生成(它将用GeneratedOcumentationPage()替换为完全无关的。因此,我必须再次恢复并键入函数调用。我该如何修复此操作,以便它仅在选项卡上完成?

我希望为此找到一些设置在Intellicode下,似乎没有用于自动替换的配置。

Right now, visual studio 2022 will auto complete on a whole bunch of characters that I use in normal coding, such as ( and space.If i for example intend to create the method Generate later but add a call to it in my code, typing Generate( it will be replaced with GenerateDocumentationPage() which is completely irrelevant. So then I have to revert and type my function call again. How can I fix this so that it only complete on tab?

I was hoping to find some setting for this under IntelliCode but it seems like there is no configuration for auto replacement there. How can this be solved?

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

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

发布评论

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

评论(1

牵你手 2025-01-30 14:14:56

我想我已经在下一个链接中找到了答案:

https://learn.microsoft.com/en-us/aswers/questions/760368/disabling-autocoction-from-spacebar-spacebar-s-pacebar-in-in-bar-in-vs-vs-2022.html

- > Intellisense - >在自动和仅表格的IntelliSense完成或快捷方式CTRL+ALT+空间

最好的问候 之间切换
吉尼斯

I think I have found the answer in next link:

https://learn.microsoft.com/en-us/answers/questions/760368/disabling-autocompletion-from-spacebar-in-vs-2022.html

ANSWER: Edit -> IntelliSense -> Switch Between automatic and tab-only IntelliSense completion or Shortcut CTRL+ALT+SPACE

Best Regards,
Genís

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