If you have tried to do any work with SharePoint 2013 Client Web Parts with the Office Developer Tools Preview 2 in Visual Studio 2012, you know it’s an exercise in frustration. It literally locks up every three or four lines of code you try to type. When it does this, it will freeze for ten seconds or more. This occurs when you are editing the page associated with the web part. It’s a total productivity killer.
It finally bugged me enough that I started looking for a solution. I was pretty close to switching to notepad. Luckily, I found a quick work-around by launching a different text editor. To launch another editor, right click on your web part page in the Solution Explorer and choose Open With…
Choose Source Code (Text) Editor.