Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can´t edit sourcecode in VS Texteditor when resharper is running

For some time I use Resharper in Visual Studio 12, but since a few days I have a problem. If Resharper running, I can not type anything in the source code editor in Visual Studio.

I'm using the version 8.2.0.2160 and StyleCop version 4.7.49.0

All settings I have completely reset. I have also deleted the settings files. I have also uninstalled Resharper and StyleCop and reinstalled.

Nothing helps! The strange thing is, that I (except C# and xaml) can probably edit in other files. Or when I restart Visual Studio and there investing a new project. Then everything works properly.

I do not know how to fix the problem. What could I even check what I could try?

like image 728
peter70 Avatar asked Apr 30 '14 13:04

peter70


People also ask

Does ReSharper slow down Visual Studio?

Resharper is a great Visual Studio productivity extension but on the other hand it slows down significantly the IDE, especially when working with large solutions.

How do I run a ReSharper code analysis?

ReSharper helps you resolve most of the discovered code issues automatically. All you need is to press Alt+Enter when the caret is on a code issue highlighted in the editor and check the suggested quick-fixes.


2 Answers

It was a shredded cache in PersistentCache directory of resharper. When I deleted the directory, resharper had re-creates it and everything worked perfectly again!

like image 190
peter70 Avatar answered Sep 30 '22 04:09

peter70


go to the following location:

%AppData%\..\Local\JetBrains\ReSharper\v8.2\SolutionCaches\

Delete the desired solution cache. I have not sufficient reputation to comment that's why posting as answer, could be helpful for someone to locate the directory of solution cache.

like image 28
Hitendra Avatar answered Sep 30 '22 06:09

Hitendra