简体   繁体   English

获取参数类型和否。 Visual Studio编辑器中的函数参数(C#)

[英]Get Parameters Type and no. of parameters for a function in Visual Studio Editor (C#)

在C#中写入函数的名称和开括号(括号)之后,有没有办法获取函数的参数类型和数量, 而不删除左括号

将光标放在括号之间,然后按Ctrl-Shift-Space。

I used to use Ctrl + Shift + Space all the time but it's not working anymore. 我曾经一直使用Ctrl + Shift + Space ,但它不再起作用了。 It does show the parameter list when I delete the opening bracket though. 它虽然删除了开括号,但确实显示了参数列表。

Turns our it is my wireless keyboard not allowing more then 2 keys to be pressed at once, works fine if I used the windows virtual keyboard. 打开我们的无线键盘是不允许一次按下2个以上的按键,如果我使用的是Windows虚拟键盘,则工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM