Resharper cleanup code "Bad value CanUseEither loaded from setting ForBuiltInTypes"

Answered

Hi,

My team is trying to export our code styling to editorconfig to run in CI. For the most part things work, but when trying to make it where we can use var, or explicit types anywhere in the project I am getting an error from the command line.

We are using:

https://www.nuget.org/packages/JetBrains.ReSharper.GlobalTools/

Tested with version 2020.2.4 and 2020.3.0-eap04

Command:



jb cleanupcode --verbosity=ERROR --config=./.config/cleanup --settings=./.editorconfig --no-buildin-settings ./AMS.sln


 

Editorconfig that works:

 

 

[*]
charset=utf-8
indent_size=4
indent_style=space
insert_final_newline=false
max_line_length=120
tab_width=4
trim_trailing_whitespace=false
ij_continuation_indent_size=8
ij_formatter_off_tag=@formatter:off
ij_formatter_on_tag=@formatter:on
ij_formatter_tags_enabled=false
ij_smart_tabs=false
ij_wrap_on_typing=false

[*.cs]
# Microsoft .NET properties
csharp_new_line_before_members_in_object_initializers=false
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
# Constants are UPPERCASE
dotnet_naming_style.constant_style.capitalization=all_upper
dotnet_naming_symbols.constants.applicable_kinds=field
dotnet_naming_symbols.constants.required_modifiers = const
dotnet_naming_rule.constants_should_be_upper_case.severity=warning
dotnet_naming_rule.constants_should_be_upper_case.style=constant_style
dotnet_naming_rule.constants_should_be_upper_case.symbols=constants
# Builtin
dotnet_naming_rule.private_instance_fields_rule.severity=warning
dotnet_naming_rule.private_instance_fields_rule.style=lower_camel_case_style
dotnet_naming_rule.private_instance_fields_rule.symbols=private_instance_fields_symbols
dotnet_naming_rule.private_static_fields_rule.severity=warning
dotnet_naming_rule.private_static_fields_rule.style=lower_camel_case_style
dotnet_naming_rule.private_static_fields_rule.symbols=private_static_fields_symbols
dotnet_naming_rule.private_static_readonly_rule.severity=warning
dotnet_naming_rule.private_static_readonly_rule.style=upper_camel_case_style
dotnet_naming_rule.private_static_readonly_rule.symbols=private_static_readonly_symbols
dotnet_naming_style.upper_camel_case_style.capitalization=pascal_case
dotnet_naming_style.lower_camel_case_style.capitalization=camel_case
dotnet_naming_style.lower_camel_case_style.required_prefix=_
dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities=private
dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds=field
dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities=private
dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds=field
dotnet_naming_symbols.private_static_fields_symbols.required_modifiers=static
dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities=private
dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds=field
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers=static,readonly
dotnet_style_parentheses_in_arithmetic_binary_operators=never_if_unnecessary:none
dotnet_style_parentheses_in_other_binary_operators=never_if_unnecessary:none
dotnet_style_parentheses_in_relational_binary_operators=never_if_unnecessary:none
dotnet_style_predefined_type_for_locals_parameters_members=true:suggestion
dotnet_style_predefined_type_for_member_access=true:suggestion
dotnet_style_qualification_for_event=false:suggestion
dotnet_style_qualification_for_field=false:suggestion
dotnet_style_qualification_for_method=false:suggestion
dotnet_style_qualification_for_property=false:suggestion
dotnet_style_require_accessibility_modifiers=for_non_interface_members:suggestion

# ReSharper properties
resharper_autodetect_indent_settings=true
resharper_enforce_line_ending_style=false
resharper_use_indent_from_vs=false
resharper_wrap_lines=true

# ReSharper inspection severities
resharper_redundant_base_qualifier_highlighting=warning
resharper_web_config_module_not_resolved_highlighting=warning
resharper_web_config_type_not_resolved_highlighting=warning
resharper_web_config_wrong_module_highlighting=warning
resharper_extra_spaces=leave_all


[*.cs]
csharp_style_var_elsewhere=false
csharp_style_var_for_built_in_types=false
csharp_style_var_when_type_is_apparent=false



[*.properties]
ij_properties_align_group_field_declarations=false
ij_properties_keep_blank_lines=false
ij_properties_key_value_delimiter=equals
ij_properties_spaces_around_key_value_delimiter=false

[.editorconfig]
ij_editorconfig_align_group_field_declarations=false
ij_editorconfig_space_after_colon=false
ij_editorconfig_space_after_comma=true
ij_editorconfig_space_before_colon=false
ij_editorconfig_space_before_comma=false
ij_editorconfig_spaces_around_assignment_operators=true

[{*.aar,*.ant,*.appxmanifest,*.axml,*.cscfg,*.csdef,*.disco,*.filelayout,*.fxml,*.jhm,*.jnlp,*.jrxml,*.manifest,*.myapp,*.nuspec,*.plist,*.rng,*.storyboard,*.stylecop,*.svcmap,*.tld,*.tps,*.wadcfgx,*.webref,*.wsdl,*.xib,*.xml,*.xsd,*.xsl,*.xslt,*.xul,StyleCop.Cache}]
ij_xml_align_attributes=true
ij_xml_align_text=false
ij_xml_attribute_wrap=normal
ij_xml_block_comment_at_first_column=true
ij_xml_keep_blank_lines=2
ij_xml_keep_indents_on_empty_lines=false
ij_xml_keep_line_breaks=true
ij_xml_keep_line_breaks_in_text=true
ij_xml_keep_whitespaces=false
ij_xml_keep_whitespaces_around_cdata=preserve
ij_xml_keep_whitespaces_inside_cdata=false
ij_xml_line_comment_at_first_column=true
ij_xml_space_after_tag_name=false
ij_xml_space_around_equals_in_attribute=false
ij_xml_space_inside_empty_tag=false
ij_xml_text_wrap=normal

[{*.cjs,*.js}]
ij_continuation_indent_size=4
ij_javascript_align_imports=false
ij_javascript_align_multiline_array_initializer_expression=false
ij_javascript_align_multiline_binary_operation=false
ij_javascript_align_multiline_chained_methods=false
ij_javascript_align_multiline_extends_list=false
ij_javascript_align_multiline_for=true
ij_javascript_align_multiline_parameters=true
ij_javascript_align_multiline_parameters_in_calls=false
ij_javascript_align_multiline_ternary_operation=false
ij_javascript_align_object_properties=0
ij_javascript_align_union_types=false
ij_javascript_align_var_statements=0
ij_javascript_array_initializer_new_line_after_left_brace=false
ij_javascript_array_initializer_right_brace_on_new_line=false
ij_javascript_array_initializer_wrap=off
ij_javascript_assignment_wrap=off
ij_javascript_binary_operation_sign_on_next_line=false
ij_javascript_binary_operation_wrap=off
ij_javascript_blacklist_imports=rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/**
ij_javascript_blank_lines_after_imports=1
ij_javascript_blank_lines_around_class=1
ij_javascript_blank_lines_around_field=0
ij_javascript_blank_lines_around_function=1
ij_javascript_blank_lines_around_method=1
ij_javascript_block_brace_style=end_of_line
ij_javascript_call_parameters_new_line_after_left_paren=false
ij_javascript_call_parameters_right_paren_on_new_line=false
ij_javascript_call_parameters_wrap=off
ij_javascript_catch_on_new_line=false
ij_javascript_chained_call_dot_on_new_line=true
ij_javascript_class_brace_style=end_of_line
ij_javascript_comma_on_new_line=false
ij_javascript_do_while_brace_force=never
ij_javascript_else_on_new_line=false
ij_javascript_enforce_trailing_comma=keep
ij_javascript_extends_keyword_wrap=off
ij_javascript_extends_list_wrap=off
ij_javascript_field_prefix=_
ij_javascript_file_name_style=relaxed
ij_javascript_finally_on_new_line=false
ij_javascript_for_brace_force=never
ij_javascript_for_statement_new_line_after_left_paren=false
ij_javascript_for_statement_right_paren_on_new_line=false
ij_javascript_for_statement_wrap=off
ij_javascript_force_quote_style=false
ij_javascript_force_semicolon_style=false
ij_javascript_function_expression_brace_style=end_of_line
ij_javascript_if_brace_force=never
ij_javascript_import_merge_members=global
ij_javascript_import_prefer_absolute_path=global
ij_javascript_import_sort_members=true
ij_javascript_import_sort_module_name=false
ij_javascript_import_use_node_resolution=true
ij_javascript_imports_wrap=on_every_item
ij_javascript_indent_case_from_switch=true
ij_javascript_indent_chained_calls=true
ij_javascript_indent_package_children=0
ij_javascript_jsx_attribute_value=braces
ij_javascript_keep_blank_lines_in_code=2
ij_javascript_keep_first_column_comment=true
ij_javascript_keep_indents_on_empty_lines=false
ij_javascript_keep_line_breaks=true
ij_javascript_keep_simple_blocks_in_one_line=false
ij_javascript_keep_simple_methods_in_one_line=false
ij_javascript_line_comment_add_space=true
ij_javascript_line_comment_at_first_column=false
ij_javascript_method_brace_style=end_of_line
ij_javascript_method_call_chain_wrap=off
ij_javascript_method_parameters_new_line_after_left_paren=false
ij_javascript_method_parameters_right_paren_on_new_line=false
ij_javascript_method_parameters_wrap=off
ij_javascript_object_literal_wrap=on_every_item
ij_javascript_parentheses_expression_new_line_after_left_paren=false
ij_javascript_parentheses_expression_right_paren_on_new_line=false
ij_javascript_place_assignment_sign_on_next_line=false
ij_javascript_prefer_as_type_cast=false
ij_javascript_prefer_explicit_types_function_expression_returns=false
ij_javascript_prefer_explicit_types_function_returns=false
ij_javascript_prefer_explicit_types_vars_fields=false
ij_javascript_prefer_parameters_wrap=false
ij_javascript_reformat_c_style_comments=false
ij_javascript_space_after_colon=true
ij_javascript_space_after_comma=true
ij_javascript_space_after_dots_in_rest_parameter=false
ij_javascript_space_after_generator_mult=true
ij_javascript_space_after_property_colon=true
ij_javascript_space_after_quest=true
ij_javascript_space_after_type_colon=true
ij_javascript_space_after_unary_not=false
ij_javascript_space_before_async_arrow_lparen=true
ij_javascript_space_before_catch_keyword=true
ij_javascript_space_before_catch_left_brace=true
ij_javascript_space_before_catch_parentheses=true
ij_javascript_space_before_class_lbrace=true
ij_javascript_space_before_class_left_brace=true
ij_javascript_space_before_colon=true
ij_javascript_space_before_comma=false
ij_javascript_space_before_do_left_brace=true
ij_javascript_space_before_else_keyword=true
ij_javascript_space_before_else_left_brace=true
ij_javascript_space_before_finally_keyword=true
ij_javascript_space_before_finally_left_brace=true
ij_javascript_space_before_for_left_brace=true
ij_javascript_space_before_for_parentheses=true
ij_javascript_space_before_for_semicolon=false
ij_javascript_space_before_function_left_parenth=true
ij_javascript_space_before_generator_mult=false
ij_javascript_space_before_if_left_brace=true
ij_javascript_space_before_if_parentheses=true
ij_javascript_space_before_method_call_parentheses=false
ij_javascript_space_before_method_left_brace=true
ij_javascript_space_before_method_parentheses=false
ij_javascript_space_before_property_colon=false
ij_javascript_space_before_quest=true
ij_javascript_space_before_switch_left_brace=true
ij_javascript_space_before_switch_parentheses=true
ij_javascript_space_before_try_left_brace=true
ij_javascript_space_before_type_colon=false
ij_javascript_space_before_unary_not=false
ij_javascript_space_before_while_keyword=true
ij_javascript_space_before_while_left_brace=true
ij_javascript_space_before_while_parentheses=true
ij_javascript_spaces_around_additive_operators=true
ij_javascript_spaces_around_arrow_function_operator=true
ij_javascript_spaces_around_assignment_operators=true
ij_javascript_spaces_around_bitwise_operators=true
ij_javascript_spaces_around_equality_operators=true
ij_javascript_spaces_around_logical_operators=true
ij_javascript_spaces_around_multiplicative_operators=true
ij_javascript_spaces_around_relational_operators=true
ij_javascript_spaces_around_shift_operators=true
ij_javascript_spaces_around_unary_operator=false
ij_javascript_spaces_within_array_initializer_brackets=false
ij_javascript_spaces_within_brackets=false
ij_javascript_spaces_within_catch_parentheses=false
ij_javascript_spaces_within_for_parentheses=false
ij_javascript_spaces_within_if_parentheses=false
ij_javascript_spaces_within_imports=false
ij_javascript_spaces_within_interpolation_expressions=false
ij_javascript_spaces_within_method_call_parentheses=false
ij_javascript_spaces_within_method_parentheses=false
ij_javascript_spaces_within_object_literal_braces=false
ij_javascript_spaces_within_object_type_braces=true
ij_javascript_spaces_within_parentheses=false
ij_javascript_spaces_within_switch_parentheses=false
ij_javascript_spaces_within_type_assertion=false
ij_javascript_spaces_within_union_types=true
ij_javascript_spaces_within_while_parentheses=false
ij_javascript_special_else_if_treatment=true
ij_javascript_ternary_operation_signs_on_next_line=false
ij_javascript_ternary_operation_wrap=off
ij_javascript_union_types_wrap=on_every_item
ij_javascript_use_chained_calls_group_indents=false
ij_javascript_use_double_quotes=true
ij_javascript_use_explicit_js_extension=global
ij_javascript_use_path_mapping=always
ij_javascript_use_public_modifier=false
ij_javascript_use_semicolon_after_statement=true
ij_javascript_var_declaration_wrap=normal
ij_javascript_while_brace_force=never
ij_javascript_while_on_new_line=false
ij_javascript_wrap_comments=false

[{*.har,*.inputactions,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}]
indent_size=2
ij_json_keep_blank_lines_in_code=0
ij_json_keep_indents_on_empty_lines=false
ij_json_keep_line_breaks=true
ij_json_space_after_colon=true
ij_json_space_after_comma=true
ij_json_space_before_colon=true
ij_json_space_before_comma=false
ij_json_spaces_within_braces=false
ij_json_spaces_within_brackets=false
ij_json_wrap_long_lines=false
indent_style=space

[{*.htm,*.html,*.ng,*.sht,*.shtm,*.shtml}]
ij_html_add_new_line_before_tags=body,div,p,form,h1,h2,h3
ij_html_align_attributes=true
ij_html_align_text=false
ij_html_attribute_wrap=normal
ij_html_block_comment_at_first_column=true
ij_html_do_not_align_children_of_min_lines=0
ij_html_do_not_break_if_inline_tags=title,h1,h2,h3,h4,h5,h6,p
ij_html_do_not_indent_children_of_tags=html,body,thead,tbody,tfoot
ij_html_enforce_quotes=false
ij_html_inline_tags=a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var
ij_html_keep_blank_lines=2
ij_html_keep_indents_on_empty_lines=false
ij_html_keep_line_breaks=true
ij_html_keep_line_breaks_in_text=true
ij_html_keep_whitespaces=false
ij_html_keep_whitespaces_inside=span,pre,textarea
ij_html_line_comment_at_first_column=true
ij_html_new_line_after_last_attribute=never
ij_html_new_line_before_first_attribute=never
ij_html_quote_style=double
ij_html_remove_new_line_before_tags=br
ij_html_space_after_tag_name=false
ij_html_space_around_equality_in_attribute=false
ij_html_space_inside_empty_tag=false
ij_html_text_wrap=normal
ij_html_uniform_ident=false

[{*.yaml,*.yml}]
indent_size=2
ij_yaml_keep_indents_on_empty_lines=false
ij_yaml_keep_line_breaks=true
indent_style=space

[*.{appxmanifest,asax,ascx,aspx,build,cg,cginc,compute,cs,cshtml,dtd,fs,fsi,fsscript,fsx,hlsl,hlsli,hlslinc,master,ml,mli,nuspec,razor,resw,resx,shader,skin,usf,ush,vb,xaml,xamlx,xoml,xsd}]
indent_style=space
indent_size=4
tab_width=4

However when I add:


# no requirement for converting type declaration to var
csharp_for_built_in_types=can_use_either
# csharp_for_other_types=can_use_either
# csharp_for_simple_types=can_use_either

The tool starts to fail with this in the error output:

JetBrains Cleanup Code 2020.3 EAP 4
Running on AMD 64 in 64-bit mode, .NET runtime 3.1.4 under Unix 19.6.0.0
Bad value CanUseEither loaded from setting ForBuiltInTypes

--- EXCEPTION #1/1 [LoggerException]
Message = “Bad value CanUseEither loaded from setting ForBuiltInTypes”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
at JetBrains.Diagnostics.LogEx.Error(ILog this, String message) in /opt/buildAgent/work/b0c387553c046bbb/rd-net/Lifetimes/Diagnostics/LogEx.cs:line 226
at JetBrains.Util.Logging.Logger.LogError(String message)
at JetBrains.Util.Logging.Logger.Fail(String messageText)
at JetBrains.Util.Logging.Logger.Fail(String format, Object[] args)
at JetBrains.ReSharper.Feature.Services.CSharp.CodeStyle.Inspections.DefaultVarStyleAdviser.Coalesce(IContextBoundSettingsStore settingsStore, ICSharpExpression expression, Expression`1 settingsKey)
at JetBrains.ReSharper.Feature.Services.CSharp.CodeStyle.Inspections.DefaultVarStyleAdviser.Advise(IContextBoundSettingsStore settingsStore, ICSharpExpression initializerExpression, VariableTypeKind typeKind)
at JetBrains.ReSharper.Feature.Services.CSharp.CodeStyle.Inspections.DefaultVarStyleAdviser.Advise(ITreeNode node, ICSharpExpression initializerExpression, VariableTypeKind typeKind, IType declaredType, IType inferredType)
at JetBrains.ReSharper.Feature.Services.CSharp.CodeStyle.Inspections.MultipleVariableDeclarationCodeStyleInspector.TrySuggest(IMultipleLocalVariableDeclaration node, IContextBoundSettingsStore boundSettingsStore, IEnumerable`1 advisers)
at JetBrains.ReSharper.Feature.Services.CSharp.CodeStyle.Inspections.VariableDeclarationCodeStyleInspector`1.TrySuggest(ITreeNode node, IContextBoundSettingsStore boundSettingsStore, IEnumerable`1 advisers)
at JetBrains.ReSharper.Psi.CodeStyle.CodeStyleUtil.SuggestStyle[TCodeStyleSuggestion](ITreeNode node, ILanguageManager languageManager, IContextBoundSettingsStore settingsStore, ICodeStyleAdviser[] advisersOverride)
at JetBrains.ReSharper.Daemon.CSharp.Stages.CodeStyle.MultipleLocalDeclarationVarStyleProblemAnalyzer.Run(IMultipleLocalVariableDeclaration multipleLocalVariableDeclaration, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzer`1.JetBrains.ReSharper.Feature.Services.Daemon.IElementProblemAnalyzer.Run(ITreeNode element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpErrorStageProcess.VisitNode(ITreeNode element, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Psi.CSharp.Tree.TreeNodeVisitor`1.VisitMultipleDeclaration(IMultipleDeclaration multipleDeclarationParam, TContext context)
at JetBrains.ReSharper.Psi.CSharp.Tree.TreeNodeVisitor`1.VisitMultipleLocalVariableDeclaration(IMultipleLocalVariableDeclaration multipleLocalVariableDeclarationParam, TContext context)
at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MultipleLocalVariableDeclaration.Accept[TContext](TreeNodeVisitor`1 visitor, TContext context)
at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpErrorStageProcess.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.ProcessorBase.ProcessAfterInterior(ITreeNode element)
at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants(ITreeNode root, IRecursiveElementProcessor processor)
at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessThisAndDescendants(ITreeNode root, IRecursiveElementProcessor processor)
at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.<>c__DisplayClass4_0.<Execute>g__MemberHighlighter|0(ICSharpTypeMemberDeclaration declaration)
at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.<>c__DisplayClass4_2.<Execute>b__3()
at JetBrains.ReSharper.Psi.Extensions.<>c__DisplayClass0_0.<EnqueueJob>b__0()
at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass36_0.<Create>b__1(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.Tasks.Task.ExecuteEntry()
at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<>c__DisplayClass6_0.<.ctor>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


Bad value CanUseEither loaded from setting ForBuiltInTypes



Any help? Based on the docs I think I should be able to do this.

https://www.jetbrains.com/help/resharper/EditorConfig_CSHARP_CSharpCodeStylePageImplSchema.html#resharper_csharp_for_built_in_types

https://www.jetbrains.com/help/resharper/EditorConfig_Index.html

1 comment
Comment actions Permalink
Official comment

Hello Alexander,

Thank you for contacting us! The can_use_either was mentioned in the documentation by mistake, it's not a valid value. The possible values are  use_var, use_var_when_evident, use_explicit_type

The documentation and the behavior will be fixed in 2020.3 version (unsupported values will be ignored).

Please sign in to leave a comment.