I'm running VS2013 Pro Update 2, and R# 8.2, and I'm unable to collapse my code to definitions. This is true on my work machine and home workstation. When I click Collapse to Definitions, the using
statements collapse, but that's all. It doesn't matter where my cursor is in the code. At work, my OS is Windows 7; at home it's Windows 8.1.
I had no problems with VS 2012 Pro and R# 8. This is exclusive to VS2013.
Has anyone else encountered this problem and solved it? Google isn't showing anything promising...
tl;dr- Update VS2013 to Update 3, and then disable and re-enable R#.
--
At home I was running VS2013u3, the latest. Disabling and then re-enabling R# via Tools > Options fixed the collapsing issue.
At work, I was running VS2013u2. I tried the same process as above (disabling and then re-enabling) R#, which did NOT work, so I checked VS version numbers to make sure my work setup was the same as my home setup. It was then that I discovered that I was a rev behind. After installing Update 3, collapsing to definitions now works as it should, and there was no need to do the disable/enable dance.