ReSharper 2025.3 Help

EditorConfig 属性用于 JavaScript:语法样式

引号

引号样式

属性名称:

[resharper_]js_quote_style[resharper_]quote_style

Defines whether single-quotes (') or double-quotes (") should be used for string literals

可能的值:

  • singlequoted :撇号:'

  • single_quoted :撇号:'

  • doublequoted :引号:"

  • double_quoted :引号:"

语句

定义语句如何终止

属性名称:

[resharper_]js_termination_style[resharper_]termination_style

Defines how statements are terminated

可能的值:

  • ensure_semicolon :确保分号

  • drop_semicolon :省略分号

最后修改日期: 2025年 12月 8日