【问题标题】:How do I get Uncrustify to indent dot continuation lines?如何让 Uncrustify 缩进点续行?
【发布时间】:2016-12-09 15:56:30
【问题描述】:

如何配置Uncrustify 来格式化:

entity.Property(e => e.CaseId)
.HasColumnName("CaseID")
.HasMaxLength(20);

像这样:

entity.Property(e => e.CaseId)
    .HasColumnName("CaseID")
    .HasMaxLength(20);

谢谢。

【问题讨论】:

    标签: uncrustify


    【解决方案1】:

    这个设置得到了结果:

    # The number of spaces to indent a continued '->' or '.'
    # Usually set to 0, 1, or indent_columns.
    indent_member                   = 8        # number
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-02
      • 1970-01-01
      • 1970-01-01
      • 2012-02-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多