ReSharper 8.0 Web Help

ReSharper | Options | Code Editing | JavaScript | Inspections & Analysis

This page of ReSharper options allows adjusting the way Code Analysis works for JavaScript.

Item Description
Analyse properties' context when inspecting code This check box, which is disabled by default, enables deeper analysis of properties. When disabled, only unknown properties are detected as errors. When enabled, reassigned properties are detected as well. E.g.:
    var a = { prop1 : "property" };
    var b = { prop2 : "property" };
    a.prop2 // The error here is only detected if the option is enabled
                    

Note

When the option is enabled, some performance degradation may be expected.

Note

ReSharper's settings are saved in settings layers that enable you to have different settings for different solutions as well as to share your settings with your team. To learn more, study the Managing and Sharing Options section.