Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code Definition Window not working in VS2015

Just upgraded to Visual Studio 2015 and the Code Definition Window is not working.It just says "No definition selected" no matter what I select. Project is Windows Forms written in C#.

  • Go to Definition and Peek Definition are working fine
  • Went back to VS2013 to try it out and it's still working there
  • Tried to make a brand new project in VS2015 to see if it was project related, but it was not
  • Checked with a couple of colleagues and it wasn't working for them either

I have a feeling this is either a bug in VS2015 or some sort of configuration change.

Anyone found a way to configure it, or any sort of work around to get it up and running again?

like image 346
johnbt Avatar asked Jul 30 '15 08:07

johnbt


1 Answers

I got a reply from Microsoft on my Bug report. Turns out it's not implemented and possibly never will be:

Hi,

Based on the fact that Peek Definition was introduced in VS2013, combined with telemetry data that shows that only a tiny percentage of users ever display the Code Definition Window, we decided not to implement support for it as part of Roslyn. I've filed an issue on our GitHub project to consider resurrecting it.

Thanks for the report! -- Kevin Pilch-Bisson Visual Studio Managed Languages

Here´s the github issue Kevin created in response to my bug report in July: https://github.com/dotnet/roslyn/issues/4224

like image 66
johnbt Avatar answered Nov 04 '22 13:11

johnbt