Methods/Properties blocks with duplicate attributes

IDLAYOUT-11
TitleCombine multiple blocks of properties or methods with equal attributes into one.
PriorityRecommended
DescriptionImprove readability of your classdef files by combining multiple properties and methods blocks with equal attribute values into one. Do not set attributes to their default values.
RationaleReadability

Avoid:

classdef Rocket
    properties (Access = public, Hidden = false, Constant)
        Fuel = "Nuclear"
    end
    
    properties (Constant = true)
        Capacity = 2
    end
end

Instead use:

classdef Rocket
    properties (Constant)
        Fuel = "Nuclear"
        Capacity = 2
    end
end