Brace matching and references highlight suddenly stop working (VS2013)

Pedro77 picture Pedro77 · Dec 27, 2013 · Viewed 10.8k times · Source

Visual Studio 2013 brace matching, references highlight, auto detect variable/,methods name changes (need to use Refactor instead), etc... are stopping to work and only work again after a VS restart. I'm writing code in C#.

Am I the only suffering/affected with this problem?

Very very annoying VS2013 problem!! It seams to only happen in large projects.

Update 1: I've realized that it happens just after I open any WinForm in VS Designer. When I come back to code editing, the brace matching and stuff is gone and I need to restart VS!

Update 2: Visual Studio 2013 Update 4 and still... NO fix!! Hello Microsoft?

Update 3: Since my solution has few votes, I'm going to summarize it here. In my case, the problem was a Thread.Sleep been called by VS Designer. It was a code error, but anyway, Designer should not run Thread.Sleep commands freezing the entire VS.

Answer

phil soady picture phil soady · Feb 10, 2014

Until fix arrives, try disabling code lens.
tools->options->text editor -> all languages ->code lens

Or just kill the ALM shared Remoting task. if it is very high CPU.