Visual Studio 2015 RC intellisense does not display parameter list

久未见 提交于 2019-12-09 15:03:03

问题


I have been using Visual Studio 2015 since CTP 6 and I have noticed that the IDE does not show the parameter list when I type the opening parenthesis "(".

This is what I am expecting to see:

In the screenshot above you see the the Create method has two overloads and this displays when I type the open parenthesis. But in Visual Studio CTP 6 and RC, nothing happens. I cannot see the overloads or the parameter list.

Is this a bug? Is there anyway to fix this issue?


回答1:


Here's the answer: Go to Tools, Options, Text Editor, All Languages, General. Then check the following options (override 'mixed' check): - Auto list members - Parameter information




回答2:


In my case it was just a bug. I restarted Visual Studio and the issue disappeared.




回答3:


I believe the shortcut for parameter info is ctrl + shift + space by default and in VS2015 RC it is working fine for me. May be it could be some user settings that might be overwriting default. You could see what the shortcut is by going at Menu.Edit.IntelliSense.




回答4:


If you hover over the Method name, you get a tool tip with the method parameters. Maybe they thought this better?




回答5:


I had to go to suggested Go to Tools, Options, Text Editor, All Languages, General - and UN-check "Hide advanced members" check box under checked-on "Auto List Members." Then when I would type ( after class name it would show me all possible signatures in Intellisense. Hope it helps some.



来源:https://stackoverflow.com/questions/30648653/visual-studio-2015-rc-intellisense-does-not-display-parameter-list

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!