Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable javascript analysis in resharper?

When I use extjs javascript library in VS2012 project, resharper appears a stopper for the development - slow VS response, big memory usage, Ctrl+N, Ctrl+F12 give me tons of useless options. I like resharper for c# development, but don't like for js.

How can I disable javascript analysis and leave for c#?

like image 431
Ben Avatar asked Mar 07 '13 16:03

Ben


People also ask

Does ReSharper work with JavaScript?

ReSharper fully supports JavaScript up to ECMAScript 2016, including experimental features such as async/await, exponentiation operator and rest/spread in object literals/destructuring. jQuery and JSX syntax are supported as well.


2 Answers

We are constantly optimizing the performance, and I hope that in 9.0 it would be much better, but currently in 8.1 you have an option to completely disable JavaScript support in ReSharper by turning off options "JavaScript" and "TypeScript" in ReSharper | Options -> Environment | Languages.

like image 80
Dmitry Osinovskiy Avatar answered Oct 05 '22 23:10

Dmitry Osinovskiy


TypeScript 1.8 was the last supported release for VS 2013

Download latest version of TypeScript for Visual Studio 2013 is 1.8.5

If you are using Resharper to get the proper syntax highlighting you will need to disable it's support for TypeScript so that the VS 2013 TypeScript is used instead.

In Resharper 8.2 go navigate to ReSharper | Options - Environment - Languages

enter image description here

In Resharper 9.2 navigate to ReSharper | Options - Environment - Products & Features

enter image description here

This is needed as ReSharper only recognizes syntax up to TypeScript 1.6 version.

enter image description here

like image 32
Matija Grcic Avatar answered Oct 05 '22 23:10

Matija Grcic