英文:
Formatting parameters in different lines using editor config
问题
"Is there any way to use editor config to format parameters in different lines.
- Example 1 violates the guideline.
- Example 2 has more than 3 parameters.
"
英文:
Is there any way to use editor config to format parameters in different lines.
- Example 1 violates the guideline.
- Example 2 has more than 3 parameters.
答案1
得分: 0
最大行长度=120
csharp在声明后换行=true
csharp参数换行样式=如果很长则截断
csharp一行上的最大形式参数=3
csharp在调用后换行=true
csharp参数换行样式=如果很长则截断
csharp一行上的最大调用参数=3
英文:
That's it.
max_line_length=120
csharp_wrap_after_declaration_lpar=true
csharp_wrap_parameters_style=chop_if_long
csharp_max_formal_parameters_on_line=3
csharp_wrap_after_invocation_lpar=true
csharp_wrap_arguments_style=chop_if_long
csharp_max_invocation_arguments_on_line=3
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论