ReSharper 2024.1 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.



This setting 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 will also change.


Last modified: 11 February 2024