ReSharper 2020.2 Help

Syntax Style

ReSharper | Options | Code Editing | JavaScript | Syntax Style

Preferences configurable on this page help you enforce code syntax style— how to use interchangeable language syntax constructions. These preferences are taken into account when ReSharper produces new code with code completion and code generation features, applies code templates and performs refactorings. They can also be applied to the existing code by using code cleanup with the corresponding settings.

The preferences with the Notify with selector have corresponding code inspections that notify you if this aspect of the syntax style in the inspected scope differs from the preferred style. Using the selectors, you can configure severity levels of the inspections.

Quotes The preference in this section defines whether apostrophe (') or quote (") should be used as a quote symbol.
This preference is shared with the corresponding preference for TypeScript, that is, if you change it here, the same preference on the Code Editing | TypeScript | Syntax Style page of ReSharper options it also changed.
Last modified: 14 July 2020