C++ の EditorConfig プロパティ: スペース
宣言
変数宣言の ptr の前
プロパティ名:
[resharper_]cpp_space_before_ptr_in_data_member , [resharper_]space_before_ptr_in_data_member
使用可能な値:
true | false
例:
true |
|---|
int ** data; |
false |
|---|
int** data; |
変数の宣言における ptr の後
プロパティ名:
[resharper_]cpp_space_after_ptr_in_data_member , [resharper_]space_after_ptr_in_data_member
使用可能な値:
true | false
例:
true |
|---|
int** data; |
false |
|---|
int**data; |
複数変数の宣言で ptr の前
プロパティ名:
[resharper_]cpp_space_before_ptr_in_data_members , [resharper_]space_before_ptr_in_data_members
使用可能な値:
true | false
例:
true |
|---|
int **data, *data2, &data3 = *data2; |
false |
|---|
int**data,*data2, &data3 = *data2; |
複数変数の宣言で ptr の後
プロパティ名:
[resharper_]cpp_space_after_ptr_in_data_members , [resharper_]space_after_ptr_in_data_members
使用可能な値:
true | false
例:
true |
|---|
int ** data, * data2, &data3 = *data2; |
false |
|---|
int **data, *data2, &data3 = *data2; |
戻り型の関数の ptr の前
プロパティ名:
[resharper_]cpp_space_before_ptr_in_method , [resharper_]space_before_ptr_in_method
使用可能な値:
true | false
例:
true |
|---|
int ** foo(int a, int b); |
false |
|---|
int** foo(int a, int b); |
関数の戻り型の ptr の後
プロパティ名:
[resharper_]cpp_space_after_ptr_in_method , [resharper_]space_after_ptr_in_method
使用可能な値:
true | false
例:
true |
|---|
int** foo(int a, int b); |
false |
|---|
int**foo(int a, int b); |
ネストされた宣言子の ptr の後
プロパティ名:
[resharper_]cpp_space_after_ptr_in_nested_declarator , [resharper_]space_after_ptr_in_nested_declarator
使用可能な値:
true | false
例:
true |
|---|
int (* f)();
int (* a)[];
int* (* (* p)); |
false |
|---|
int (*f)();
int (*a)[];
int* (*(*p)); |
抽象宣言の ptr の前
プロパティ名:
[resharper_]cpp_space_before_ptr_in_abstract_decl , [resharper_]space_before_ptr_in_abstract_decl
使用可能な値:
true | false
例:
true |
|---|
template <class T = int *, int *>
foo()
{
int** p = new int *{new int{10}};
} |
false |
|---|
template <class T = int*, int*>
foo()
{
int** p = new int*{new int{10}};
} |
変数宣言の中で ref の前
プロパティ名:
[resharper_]cpp_space_before_ref_in_data_member , [resharper_]space_before_ref_in_data_member
使用可能な値:
true | false
例:
true |
|---|
int && data; |
false |
|---|
int&& data; |
変数の宣言での参照後
プロパティ名:
[resharper_]cpp_space_after_ref_in_data_member , [resharper_]space_after_ref_in_data_member
使用可能な値:
true | false
例:
true |
|---|
int&& data; |
false |
|---|
int&&data; |
複数の変数の宣言を参照する前
プロパティ名:
[resharper_]cpp_space_before_ref_in_data_members , [resharper_]space_before_ref_in_data_members
使用可能な値:
true | false
例:
true |
|---|
int **data, *data2, &data3 = &data2; |
false |
|---|
int **data, *data2,&data3 = &data2; |
複数の変数の宣言を参照した後
プロパティ名:
[resharper_]cpp_space_after_ref_in_data_members , [resharper_]space_after_ref_in_data_members
使用可能な値:
true | false
例:
true |
|---|
int **data, *data2, & data3 = &data2; |
false |
|---|
int **data, *data2, &data3 = &data2; |
関数の戻り型の ref の前
プロパティ名:
[resharper_]cpp_space_before_ref_in_method , [resharper_]space_before_ref_in_method
使用可能な値:
true | false
例:
true |
|---|
int & foo(int a, int b); |
false |
|---|
int& foo(int a, int b); |
関数の戻り型で ref の後
プロパティ名:
[resharper_]cpp_space_after_ref_in_method , [resharper_]space_after_ref_in_method
使用可能な値:
true | false
例:
true |
|---|
int& foo(int a, int b); |
false |
|---|
int&foo(int a, int b); |
抽象宣言の ref の前
プロパティ名:
[resharper_]cpp_space_before_ref_in_abstract_decl , [resharper_]space_before_ref_in_abstract_decl
使用可能な値:
true | false
例:
true |
|---|
template <class T = int &, int &>
foo(); |
false |
|---|
template <class T = int&, int&>
foo(); |
コンマの後に複数の変数を宣言
プロパティ名:
[resharper_]cpp_space_after_comma_in_declaration、[resharper_]cpp_space_after_comma、[resharper_]space_after_comma_in_declaration、[resharper_]space_after_comma
使用可能な値:
true | false
例:
true |
|---|
int a, b, c; |
false |
|---|
int a,b,c; |
コンマの前に複数の変数を宣言
プロパティ名:
[resharper_]cpp_space_before_comma_in_declaration、[resharper_]cpp_space_before_comma、[resharper_]space_before_comma_in_declaration、[resharper_]space_before_comma
使用可能な値:
true | false
例:
true |
|---|
int a , b , c; |
false |
|---|
int a, b, c; |
関数パラメーターのコンマの後
プロパティ名:
[resharper_]cpp_space_after_comma_in_method、[resharper_]cpp_space_after_comma、[resharper_]space_after_comma_in_method、[resharper_]space_after_comma
使用可能な値:
true | false
例:
true |
|---|
int foo(int a, int b, int c); |
false |
|---|
int foo(int a,int b,int c); |
関数パラメーターのコンマの前
プロパティ名:
[resharper_]cpp_space_before_comma_in_method、[resharper_]cpp_space_before_comma、[resharper_]space_before_comma_in_method、[resharper_]space_before_comma
使用可能な値:
true | false
例:
true |
|---|
int foo(int a , int b , int c); |
false |
|---|
int foo(int a, int b, int c); |
列挙型のコンマの後
プロパティ名:
[resharper_]cpp_space_after_comma_in_enum、[resharper_]cpp_space_after_comma、[resharper_]space_after_comma_in_enum、[resharper_]space_after_comma
使用可能な値:
true | false
例:
true |
|---|
enum Thing { One, Two, Three } |
false |
|---|
enum Thing { One,Two,Three } |
コンマの前に enum
プロパティ名:
[resharper_]cpp_space_before_comma_in_enum、[resharper_]cpp_space_before_comma、[resharper_]space_before_comma_in_enum、[resharper_]space_before_comma
使用可能な値:
true | false
例:
true |
|---|
enum Thing { One , Two , Three } |
false |
|---|
enum Thing { One, Two, Three } |
ベース節のコンマの後
プロパティ名:
[resharper_]cpp_space_after_comma_in_base_clause、[resharper_]cpp_space_after_comma、[resharper_]space_after_comma_in_base_clause、[resharper_]space_after_comma
使用可能な値:
true | false
例:
true |
|---|
class A : B, C, D |
false |
|---|
class A : B,C,D |
ベース節のコンマの前
プロパティ名:
[resharper_]cpp_space_before_comma_in_base_clause、[resharper_]cpp_space_before_comma、[resharper_]space_before_comma_in_base_clause、[resharper_]space_before_comma
使用可能な値:
true | false
例:
true |
|---|
class A : B , C , D |
false |
|---|
class A : B, C, D |
関数のパラメーターの括弧の前
プロパティ名:
[resharper_]cpp_space_between_method_declaration_name_and_open_parenthesis , [resharper_]space_between_method_declaration_name_and_open_parenthesis
使用可能な値:
true | false
例:
true |
|---|
int foo (int a, int b, int c); |
false |
|---|
int foo(int a, int b, int c); |
ラムダパラメーターの括弧の前
プロパティ名:
[resharper_]cpp_space_before_lambda_parentheses , [resharper_]space_before_lambda_parentheses
使用可能な値:
true | false
例:
true |
|---|
auto lambda = [] (int, int)
{
}; |
false |
|---|
auto lambda = [](int, int)
{
}; |
括弧内
プロパティ名:
[resharper_]cpp_space_within_declaration_parentheses , [resharper_]space_within_declaration_parentheses
使用可能な値:
true | false
例:
true |
|---|
int ( *f )();
int ( *a )[]; |
false |
|---|
int (*f)();
int (*a)[]; |
関数パラメーターの括弧内
プロパティ名:
[resharper_]cpp_space_between_method_declaration_parameter_list_parentheses , [resharper_]space_between_method_declaration_parameter_list_parentheses
使用可能な値:
true | false
例:
true |
|---|
int foo( int a, int b, int c ); |
false |
|---|
int foo(int a, int b, int c); |
関数のパラメーターの空の括弧内
プロパティ名:
[resharper_]cpp_space_between_method_declaration_empty_parameter_list_parentheses , [resharper_]space_between_method_declaration_empty_parameter_list_parentheses
使用可能な値:
true | false
例:
true |
|---|
int foo( ); |
false |
|---|
int foo(); |
テンプレートパラメーターの山括弧の前
プロパティ名:
[resharper_]cpp_space_before_template_params , [resharper_]space_before_template_params
使用可能な値:
true | false
例:
true |
|---|
template <typename K, typename V>
struct map
{
}; |
false |
|---|
template<typename K, typename V>
struct map
{
}; |
テンプレートパラメーターの山括弧内
プロパティ名:
[resharper_]cpp_space_within_template_params , [resharper_]space_within_template_params
使用可能な値:
true | false
例:
true |
|---|
template < typename K, typename V >
struct map
{
}; |
false |
|---|
template <typename K, typename V>
struct map
{
}; |
テンプレートパラメーターの空角角括弧内
プロパティ名:
[resharper_]cpp_space_within_empty_template_params , [resharper_]space_within_empty_template_params
使用可能な値:
true | false
例:
true |
|---|
template < >
struct vector<bool>
{
}; |
false |
|---|
template <>
struct vector<bool>
{
}; |
テンプレートパラメーターのコンマの後
プロパティ名:
[resharper_]cpp_space_after_comma_in_template_params、[resharper_]cpp_space_after_comma、[resharper_]space_after_comma_in_template_params、[resharper_]space_after_comma
使用可能な値:
true | false
例:
true |
|---|
template <typename K, typename V>
struct map
{
}; |
false |
|---|
template <typename K,typename V>
struct map
{
}; |
テンプレートパラメーターのコンマの前
プロパティ名:
[resharper_]cpp_space_before_comma_in_template_params、[resharper_]cpp_space_before_comma、[resharper_]space_before_comma_in_template_params、[resharper_]space_before_comma
使用可能な値:
true | false
例:
true |
|---|
template <typename K , typename V>
struct map
{
}; |
false |
|---|
template <typename K, typename V>
struct map
{
}; |
テンプレート引数で山括弧の前
プロパティ名:
[resharper_]cpp_space_before_template_args , [resharper_]space_before_template_args
使用可能な値:
true | false
例:
true |
|---|
map <int, int> foo(); |
false |
|---|
map<int, int> foo(); |
テンプレート引数の山括弧内
プロパティ名:
[resharper_]cpp_space_within_template_args , [resharper_]space_within_template_args
使用可能な値:
true | false
例:
true |
|---|
map< int, int > foo(); |
false |
|---|
map<int, int> foo(); |
テンプレート引数のコンマの後
プロパティ名:
[resharper_]cpp_space_after_comma_in_template_args、[resharper_]cpp_space_after_comma、[resharper_]space_after_comma_in_template_args、[resharper_]space_after_comma
使用可能な値:
true | false
例:
true |
|---|
map<int, int> foo(); |
false |
|---|
map<int,int> foo(); |
テンプレート引数のコンマの前
プロパティ名:
[resharper_]cpp_space_before_comma_in_template_args、[resharper_]cpp_space_before_comma、[resharper_]space_before_comma_in_template_args、[resharper_]space_before_comma
使用可能な値:
true | false
例:
true |
|---|
map<int , int> foo(); |
false |
|---|
map<int, int> foo(); |
テンプレート引数の終了山括弧の間
プロパティ名:
[resharper_]cpp_space_between_closing_angle_brackets_in_template_args , [resharper_]space_between_closing_angle_brackets_in_template_args
使用可能な値:
true | false
例:
true |
|---|
vector<vector<int> > v; |
false |
|---|
vector<vector<int>> v; |
エイリアス宣言と名前空間エイリアスの '=' のまわり
プロパティ名:
[resharper_]cpp_space_around_alias_eq , [resharper_]space_around_alias_eq
使用可能な値:
true | false
例:
true |
|---|
namespace mpl = boost::mpl;
using vec = std::vector; |
false |
|---|
namespace mpl=boost::mpl;
using vec=std::vector; |
末尾の戻り値の型の前後に ' - >' があります
プロパティ名:
[resharper_]cpp_space_around_deref_in_trailing_return_type , [resharper_]space_around_deref_in_trailing_return_type
使用可能な値:
true | false
例:
true |
|---|
auto foo() -> int; |
false |
|---|
auto foo()->int; |
基本タイプの前にコロン
プロパティ名:
[resharper_]cpp_space_before_colon_in_inheritance_clause , [resharper_]space_before_colon_in_inheritance_clause
使用可能な値:
true | false
例:
true |
|---|
class Derived : BaseClass, Interface
{
}; |
false |
|---|
class Derived: BaseClass, Interface
{
}; |
基本型の後にコロン
プロパティ名:
[resharper_]cpp_space_after_colon_in_inheritance_clause , [resharper_]space_after_colon_in_inheritance_clause
使用可能な値:
true | false
例:
true |
|---|
class Derived : BaseClass, Interface
{
}; |
false |
|---|
class Derived :BaseClass, Interface
{
}; |
C++ /CLI の前に総称制約コロン
プロパティ名:
[resharper_]cpp_space_before_type_parameter_constraint_colon , [resharper_]space_before_type_parameter_constraint_colon
使用可能な値:
true | false
例:
true |
|---|
generic<class T>
class C
where T : IEnumerable{}; |
false |
|---|
generic<class T>
class C
where T : IEnumerable{}; |
C++ /CLI 総称制約コロンの後
プロパティ名:
[resharper_]cpp_space_after_type_parameter_constraint_colon , [resharper_]space_after_type_parameter_constraint_colon
使用可能な値:
true | false
例:
true |
|---|
generic<class T>
class C
where T : IEnumerable{}; |
false |
|---|
generic<class T>
class C
where T : IEnumerable{}; |
ビットフィールド宣言のコロンの前
プロパティ名:
[resharper_]cpp_space_before_colon_in_bitfield_declarator , [resharper_]space_before_colon_in_bitfield_declarator
使用可能な値:
true | false
例:
true |
|---|
struct C
{
int x : 1;
}; |
false |
|---|
struct C
{
int x: 1;
}; |
ビットフィールド宣言のコロンの後
プロパティ名:
[resharper_]cpp_space_after_colon_in_bitfield_declarator , [resharper_]space_after_colon_in_bitfield_declarator
使用可能な値:
true | false
例:
true |
|---|
struct C
{
int x : 1;
}; |
false |
|---|
struct C
{
int x :1;
}; |
制御文内
丸括弧の前
プロパティ名:
[resharper_]cpp_space_after_keywords_in_control_flow_statements , [resharper_]space_after_keywords_in_control_flow_statements
使用可能な値:
true | false
例:
true |
|---|
while (true)
{
} |
false |
|---|
while(true)
{
} |
括弧内
プロパティ名:
[resharper_]cpp_space_between_parentheses_of_control_flow_statements , [resharper_]space_between_parentheses_of_control_flow_statements
使用可能な値:
true | false
例:
true |
|---|
do
{
}
while ( true ) |
false |
|---|
do
{
}
while (true) |
セミコロンの前
プロパティ名:
[resharper_]cpp_space_before_semicolon_in_for_statement , [resharper_]space_before_semicolon_in_for_statement
使用可能な値:
true | false
例:
true |
|---|
for (int i = 1 ; i < 10 ; i++)
{
} |
false |
|---|
for (int i = 1; i < 10; i++)
{
} |
セミコロンの後
プロパティ名:
[resharper_]cpp_space_after_semicolon_in_for_statement , [resharper_]space_after_semicolon_in_for_statement
使用可能な値:
true | false
例:
true |
|---|
for (int i = 1; i < 10; i++)
{
} |
false |
|---|
for (int i = 1;i < 10;i++)
{
} |
範囲ベースの for ループの ':' の前
プロパティ名:
[resharper_]cpp_space_before_for_colon , [resharper_]space_before_for_colon
使用可能な値:
true | false
例:
true |
|---|
for (auto x : list)
{
} |
false |
|---|
for (auto x: list)
{
} |
レンジベースの for ループの後に ':'
プロパティ名:
[resharper_]cpp_space_after_for_colon , [resharper_]space_after_for_colon
使用可能な値:
true | false
例:
true |
|---|
for (auto x : list)
{
} |
false |
|---|
for (auto x :list)
{
} |
switch case または label ステートメントのコロンの前
プロパティ名:
[resharper_]cpp_space_before_colon_in_case , [resharper_]space_before_colon_in_case
使用可能な値:
true | false
例:
true |
|---|
switch (a) { case b : break; } |
false |
|---|
switch (a) { case b: break; } |
switch case または label ステートメントのコロンの後
プロパティ名:
[resharper_]cpp_space_after_colon_in_case , [resharper_]space_after_colon_in_case
使用可能な値:
true | false
例:
true |
|---|
switch (a) { case b: break; } |
false |
|---|
switch (a) { case b:break; } |
空のブロック内
プロパティ名:
[resharper_]cpp_space_within_empty_blocks , [resharper_]space_within_empty_blocks
使用可能な値:
true | false
例:
true |
|---|
if (b)
{
} |
false |
|---|
if (b)
{
} |
式
単項演算子の後 (+, -, ~, *, &, ++, --)
プロパティ名:
[resharper_]cpp_space_after_unary_operator , [resharper_]space_after_unary_operator
使用可能な値:
true | false
例:
true |
|---|
int x = - 5
int* p = & x;
int y = * p;
int z = ~ x; |
false |
|---|
int x = -5
int* p = &x;
int y = *p;
int z = ~x; |
論理否定演算子の後 (!)
プロパティ名:
[resharper_]cpp_space_after_operator_not , [resharper_]space_after_operator_not
使用可能な値:
true | false
例:
true |
|---|
bool b = ! f(); |
false |
|---|
bool b = !f(); |
後置演算子の前
プロパティ名:
[resharper_]cpp_space_before_postfix_operator , [resharper_]space_before_postfix_operator
使用可能な値:
true | false
例:
true |
|---|
i ++ |
false |
|---|
i++ |
バイナリ演算子の周囲
プロパティ名:
[resharper_]cpp_space_around_binary_operator , [resharper_]space_around_binary_operator
使用可能な値:
true | false
例:
true |
|---|
a + b |
false |
|---|
a+b |
代入演算子の周囲
プロパティ名:
[resharper_]cpp_space_around_assignment_operator , [resharper_]space_around_assignment_operator
使用可能な値:
true | false
例:
true |
|---|
a = b; |
false |
|---|
a=b; |
ドットの周囲には、' - >'、'.*'、' - >。'
プロパティ名:
[resharper_]cpp_space_around_dot、[resharper_]cpp_space_around_member_access_operator、[resharper_]space_around_dot、[resharper_]space_around_member_access_operator
使用可能な値:
true | false
例:
true |
|---|
obj -> method() |
false |
|---|
obj->method() |
括弧内
プロパティ名:
[resharper_]cpp_space_within_parentheses , [resharper_]space_within_parentheses
使用可能な値:
true | false
例:
true |
|---|
( a + b )->method(); |
false |
|---|
(a + b)->method(); |
配列添字角括弧の前
プロパティ名:
[resharper_]cpp_space_before_open_square_brackets , [resharper_]space_before_open_square_brackets
使用可能な値:
true | false
例:
true |
|---|
a [i] |
false |
|---|
a[i] |
配列添字角括弧内
プロパティ名:
[resharper_]cpp_space_within_array_access_brackets、[resharper_]cpp_space_between_square_brackets、[resharper_]space_within_array_access_brackets、[resharper_]space_between_square_brackets
使用可能な値:
true | false
例:
true |
|---|
a[ i ] |
false |
|---|
a[i] |
関数呼び出しと初期化で括弧の前に
プロパティ名:
[resharper_]cpp_space_before_method_call_parentheses、[resharper_]cpp_space_between_method_call_name_and_opening_parenthesis、[resharper_]space_before_method_call_parentheses、[resharper_]space_between_method_call_name_and_opening_parenthesis
使用可能な値:
true | false
例:
true |
|---|
foo (a, b, c); |
false |
|---|
foo(a, b, c); |
関数呼び出しと初期化における空の括弧の前
プロパティ名:
[resharper_]cpp_space_before_empty_method_call_parentheses、[resharper_]cpp_space_between_method_call_name_and_opening_parenthesis、[resharper_]space_before_empty_method_call_parentheses、[resharper_]space_between_method_call_name_and_opening_parenthesis
使用可能な値:
true | false
例:
true |
|---|
foo (); |
false |
|---|
foo(); |
キャスト式の括弧内
プロパティ名:
[resharper_]cpp_space_between_typecast_parentheses , [resharper_]space_between_typecast_parentheses
使用可能な値:
true | false
例:
true |
|---|
( int )0.5; |
false |
|---|
(int)0.5; |
キャスト式の括弧の後
プロパティ名:
[resharper_]cpp_space_after_cast , [resharper_]space_after_cast
使用可能な値:
true | false
例:
true |
|---|
(int) 0.5; |
false |
|---|
(int)0.5; |
関数呼び出しと初期化における括弧内
プロパティ名:
[resharper_]cpp_space_between_method_call_parameter_list_parentheses , [resharper_]space_between_method_call_parameter_list_parentheses
使用可能な値:
true | false
例:
true |
|---|
foo( a, b, c ); |
false |
|---|
foo(a, b, c); |
関数呼び出しと初期化で空の括弧内
プロパティ名:
[resharper_]cpp_space_between_method_call_empty_parameter_list_parentheses , [resharper_]space_between_method_call_empty_parameter_list_parentheses
使用可能な値:
true | false
例:
true |
|---|
foo( ); |
false |
|---|
foo(); |
関数呼び出しと初期化におけるコンマの前
プロパティ名:
[resharper_]cpp_space_before_comma_in_method_call、[resharper_]cpp_space_before_comma、[resharper_]space_before_comma_in_method_call、[resharper_]space_before_comma
使用可能な値:
true | false
例:
true |
|---|
foo(a , b , c); |
false |
|---|
foo(a, b, c); |
関数の呼び出しと初期化におけるコンマの後
プロパティ名:
[resharper_]cpp_space_after_comma_in_method_call、[resharper_]cpp_space_after_comma、[resharper_]space_after_comma_in_method_call、[resharper_]space_after_comma
使用可能な値:
true | false
例:
true |
|---|
foo(a, b, c); |
false |
|---|
foo(a,b,c); |
統一初期化のコンマの前に波括弧
プロパティ名:
[resharper_]cpp_space_before_comma_in_initializer_braces、[resharper_]cpp_space_before_comma、[resharper_]space_before_comma_in_initializer_braces、[resharper_]space_before_comma
使用可能な値:
true | false
例:
true |
|---|
MyClass x{1 , 2 , 3}; |
false |
|---|
MyClass x{1, 2, 3}; |
均一な初期化でコンマの後に波括弧
プロパティ名:
[resharper_]cpp_space_after_comma_in_initializer_braces、[resharper_]cpp_space_after_comma、[resharper_]space_after_comma_in_initializer_braces、[resharper_]space_after_comma
使用可能な値:
true | false
例:
true |
|---|
MyClass x{1, 2, 3}; |
false |
|---|
MyClass x{1,2,3}; |
三項演算子で ' ? :' 前 '?'
プロパティ名:
[resharper_]cpp_space_before_ternary_quest , [resharper_]space_before_ternary_quest
使用可能な値:
true | false
例:
true |
|---|
a ? b : c |
false |
|---|
a? b : c |
三項演算子で ' ? : '後' ? '
プロパティ名:
[resharper_]cpp_space_after_ternary_quest , [resharper_]space_after_ternary_quest
使用可能な値:
true | false
例:
true |
|---|
a ? b : c |
false |
|---|
a ?b : c |
三項演算子で ' ? :' 前 '?'
プロパティ名:
[resharper_]cpp_space_before_ternary_colon , [resharper_]space_before_ternary_colon
使用可能な値:
true | false
例:
true |
|---|
a ? b : c |
false |
|---|
a ? b: c |
三項演算子で ' ? : '後' ? '
プロパティ名:
[resharper_]cpp_space_after_ternary_colon , [resharper_]space_after_ternary_colon
使用可能な値:
true | false
例:
true |
|---|
a ? b : c |
false |
|---|
a ? b :c |
均一な初期化の前に波括弧
プロパティ名:
[resharper_]cpp_space_before_initializer_braces , [resharper_]space_before_initializer_braces
使用可能な値:
true | false
例:
true |
|---|
auto e = complex {3, 4}; |
false |
|---|
auto e = complex{3, 4}; |
一様な初期化の中で波括弧
プロパティ名:
[resharper_]cpp_space_within_initializer_braces , [resharper_]space_within_initializer_braces
使用可能な値:
true | false
例:
true |
|---|
auto e = complex{ 3, 4 }; |
false |
|---|
auto e = complex{3, 4}; |
空の一様な初期化の中で波括弧
プロパティ名:
[resharper_]cpp_space_within_empty_initializer_braces , [resharper_]space_within_empty_initializer_braces
使用可能な値:
true | false
例:
true |
|---|
auto e = int{ }; |
false |
|---|
auto e = int{}; |
その他
パラメーターパックの「...」の前
プロパティ名:
[resharper_]cpp_space_before_ellipsis_in_parameter_pack , [resharper_]space_before_ellipsis_in_parameter_pack
使用可能な値:
true | false
例:
true |
|---|
template <class ... Ts>
void f(Ts ... args); |
false |
|---|
template <class... Ts>
void f(Ts... args); |
パラメーターパックの「...」の後
プロパティ名:
[resharper_]cpp_space_after_ellipsis_in_parameter_pack , [resharper_]space_after_ellipsis_in_parameter_pack
使用可能な値:
true | false
例:
true |
|---|
template <class... Ts>
void f(Ts... args); |
false |
|---|
template <class...Ts>
void f(Ts...args); |
行末コメントの前
プロパティ名:
[resharper_]cpp_space_before_trailing_comment , [resharper_]space_before_trailing_comment
使用可能な値:
true | false
例:
true |
|---|
int x = 4; // x = 4 |
false |
|---|
int x = 4;// x = 4 |
行末コメントの前に空白を保持する
プロパティ名:
[resharper_]cpp_disable_space_changes_before_trailing_comment , [resharper_]disable_space_changes_before_trailing_comment
使用可能な値:
true | false
例:
true |
|---|
int x = 4; // x = 4 |
false |
|---|
int x = 4; // x = 4 |