I have used go to declaration to view the source code of objects/methods that are declared in the other projects within the same solution. It has been worked great. Suddenly, the go to declaration option is not available after I highlighted the method, and I don't see it in the content menu.
Note 1) I always reboot the machine every day 2) I have been working on the same project for the past few weeks. I have been working on the same solution file before and after go to declaration menu is gone
I did make a lot change on the solution. I recompiled the object so many times. Not sure, if I accidentally cause any problem
Right now, I have to traverse to different project in the solution to find the source code. I can also put the break point. Once the program stops at that break point, I can step into the code.
More about the project, many objects/classes and defined in the other projects. Technically, they are external DLL. I know how to debug external dll, but it is cumbersome. Therefore, I include those projects in the solution (actually, the developers at my show include most of them. Then I included more). Go to definition always navigates back to metadata, but go to declaration will go back to the actual code. It is a wonderful tool, but I cannot see it anymore in the past few days.
Any thing I can do to revive this menu. Oh, I did try ctrl-f12. It does not work
Thanks
答案 0 :(得分:0)
确定
我终于弄清楚发生了什么。这是解决问题的原因。发生的事情是我不得不在3周前改变我的机器。我慢慢安装了越来越多的软件。然后我应用了产品密钥。然后有一天,宣言就消失了。我甚至都没注意到
Intellisense and code suggestion not working in Visual Studio 2012 Ultimate RC
以上链接是具有各种分辨率的长线程。不同的人可能遇到不同的问题。我尝试过各种各样的解决方案(重启视觉工作室等),但没有一个能够解决问题。
Resharper->选项 - > IntelliSense-> General设置为'Visual Studio native IntelliSense
这个对我有用。哦,您需要获得R#许可才能启用此功能