Support for JavaScript

For a long time, writing JavaScript code in Visual Studio was very painful. There were no tools that could support writing JavaScript. But ReSharper changed this by providing you with a rich set of features that you know from C#.

Tip

ReSharper supports JavaScript code, both written in separate files and inline in the same way.

Smart IntelliSense

Support for JavaScript starts with IntelliSense. IntelliSense prompts you with defined JavaScript keywords and methods, and objects and methods from your custom objects as well as from external JavaScript libraries such as jQuery. A sample prompt for jQuery methods is shown in the following screenshot:

Tip

In jQuery, selectors are very important as they allow you to access any HTML element. ...

Get ReSharper Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.