是否可以使用功能括号自动完成?视觉工作室 [英] Is it possible to auto complete with function braces? c# visual studio

查看:53
本文介绍了是否可以使用功能括号自动完成?视觉工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Visual Studio中键入函数名称的某些字母时,建议我通过按 Tab 自动完成方法的名称.

================================================

此外,如果两个建议都不符合您的要求,则应

并且,当您完成票证时,您可以在此处共享链接,包括我们在内的对此链接感兴趣的任何人都将对其进行投票.

所有这些,我认为它将得到 Microsoft 的更多关注,以帮助我们更快地处理它.

When I type some letter of a function name in visual studio, it suggests me to auto complete the name of the method by pressing Tab. See picture

After I press Tab it auto completes the name of the method without braces, I'm sure you all know how it works. My question is, is there a way to auto complete the name of the method with braces? instead of auto completing method_name, make it be method_name()

It will help me a lot because most of the time I just need to execute the method.

解决方案

I think you cannot get what you want so far.

And VS does not such Intellisense function by default.

As a suggestion,

1) just as NDJ said, Resharper vs extension has the option that automatically add brackets to methods when auto-completing.

And Resharper is free for 30 days if you are a new user.

2) Or before you click Enter to complete automatic filling from the Intellisense suggestion window, press the key combination Shift + ( and it will automatically add () with the method.

===============================================

Besides, if the two suggestions do not meet your requirements, you should suggest your idea to the Team.

And when you finishing the ticket, you can share the link here and anyone who is interested in it including us will vote it.

With all of these, I think it will get more attention from Microsoft to help us deal with it more quickly.

这篇关于是否可以使用功能括号自动完成?视觉工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆