I have an environment issue using Visual Studio 2013.
The outlining feature for javascript documents will often corrupt itself after a while using it. It will remain that way until I close the solution and then delete the .suo and .sdf files from the solution up until the next corruption.
The corruption as I call it begins with something benign such as not aligning the caret position with the indent of other functions in the current scope. It will be positioned at the first character on the next line. It occurs everyday.
Then after a little while (5 mins), when you select a word, the feature that highlights the same words in the document becomes corrupt and will highlight almost random characters in different words and on multiple lines sometimes.
After a minute or less, the functions / block outlining then becomes corrupt too. Usually begins by opening all the functions/blocks bellow the current caret position. Trying to press the little '-' to minimize a code block results in visual studio not understanding what is a function anymore and outline the rest of the page.
I have no extension installed other than the default microsoft ones. I tried resetting all my settings and deleting the suo/sdf files repeatedly.
Any idea what I should try next? Thanks.
Edit: Unfortunately the solution I found only worked for 2 weeks or so. Back to a corrupted solution where I need once a day to delete the .suo and .sdf files.