MSDN links in Visual Studio

我的未来我决定 提交于 2019-12-20 01:12:05

问题


I'm looking for a plugin or way to simply go from any namespace, type, method, property, etc in my .Net code to the MSDN page that covers it via a context menu item or hyperlink-like mechanism. Does anyone know of anything that will do that?

The "Go to Definition" option when you right click almost covers this, but it doesn't quite work well enough - no support for namespaces and you often end up at an ugly metadata page. I'm still on vs2005, so if vs2008 is better at this I'd like to know about it.


回答1:


Have you tried F1. This will automatically open the help to the appropriate method or object. Not sure if this works for namespaces.




回答2:


Besides using F1 (which doesn't always work) I haven't found an add-in for VS to do this, I have another quick way around it.

I use Launchy (from launchy.net) and setup the Weby plug-in so I can quickly do MSDN searches. So if I'm looking for String.Format, my keyboard only sequence (from VS, or anywhere else) would be this:

alt-space MSDN String.Format

that brings me right to an MSDN search, where usually the first listing is what I'm looking for. It's not a perfect solution, but having a fast internet connection and the keyboard only approach works well for me.



来源:https://stackoverflow.com/questions/198111/msdn-links-in-visual-studio

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