Reputation: 6685
Has anyone run into this before? In my freshly installed copy of Visual Studio 2015 Professional I simply cannot get 'F12 - Goto Definition' to work. Nothing happens when I try it. What is more, if I try 'ALT-F12 -- Peek at definition', I just get a blank window saying "A definition for the symbol '(null)' could not be located'. Intellisense is working fine. I do not have a lot of third party tools installed (except some git related ones). I am at my wit's end here.
Can anyone help? I have already re-installed this twice.
Upvotes: 3
Views: 6955
Reputation: 1
This problem was resolved in the visual studio 2015 Update 1. Visual Studio 2015's keep tabs option was breaking F12. This is why the other answers response of deleting your settings file fixed it. The default setting is to keep spaces.
Please see https://stackoverflow.com/a/31909360
and
To get the update: https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update1-vs
Upvotes: 0
Reputation: 41
I had the same problem with Visual Studio 2015 Community Edition. Deleting the .vs folder fixed it.
Upvotes: 4