Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content

chore: removed editorconfig rule for creating newlines for singleline auto properties

Marco Pattke requested to merge feature/editorconfig-props-no-newline into main

Current Editorconfig always makes a new line for brackets, event for Auto properties. This pollutes the file and makes it unnecessary big. Thats how it looks currently:

public ObservableCollection<ItemModel> AvailableDatabases
    {
        get;
        set;
    }

Thats how it looks after the change:

public ObservableCollection<ItemModel> AvailableDatabases { get; set; }

Normally default for C# Coding, see also:https://www.thomasclaudiushuber.com/2019/04/08/why-you-should-prefer-a-single-line-for-c-properties/

Edited by Marco Pattke

Merge request reports

Loading