How to display full documentation of a method as you type in VS?

我的未来我决定 提交于 2019-12-03 15:49:01

问题


The title is pretty descriptive... Is there any extension that let me see FULL documentation of the method I'm typing ? I would like to see the documentation as I can see it in Object Browser with description of parameters and everything not just some "summary".

Of cause with an option to see all overrides. It may be part of intelisence or I don't know what it does not really matter.


回答1:


I'm sorry to say, but the answer is no. I can say this with confidence because I myself spent many, many hours looking for such a thing. Good luck.




回答2:


The idea is that you get a summary in the intellisense tooltip, and can press F1 to show the full help, or F12 to jump to the declaration (which usually includes the documentation).

I find I usually only need to read the full documentation once or twice and then the tooltips give me enough information to go on. Also, when I find myself needing the full documentation, I usually need to browse further (e.g. investigate the whole class and other methods). I can understand you wanting to see all the information, although I must say I personally prefer it the way it is.

I suspect if you actually had what you're asking for you might want to turn it off (or at least down) after a few weeks when it keeps taking over your whole screen to tell you stuff you already know about methods you type 20 times a day. That's probably why there aren't any tools out there to do it already.

If it helps, tools like Resharper give "better" intellisense tooltips. (I say "better" in quotes because I find Resharper gives me too much information, and the default Visual Studio approach of just showing me one overload at a time is actually a lot less 'in your face'. Many people like to have all this information at their fingertips though). The resharper tooltips still won't get you to a full copy of the documentation page though.




回答3:


Would Dynamic Help be close enough? (Help > Dynamic Help or Ctrl+F1, D)

Its a tool window that adjusts its content to what is under your caret in the text editor



来源:https://stackoverflow.com/questions/2877647/how-to-display-full-documentation-of-a-method-as-you-type-in-vs

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