Note: This website is archived. For up-to-date information about D projects and development, please visit

Ticket #89 (new enhancement)

Opened 11 years ago

Add properties to formatter

Reported by: doob Assigned to:
Priority: major Component: descent.core
Version: Keywords:


It would be nice to be able to have an option in the formatter to treat functions as properties when possible. See Also #34. In ticket 34 it says "For methods with void return value and a single argument (setters)". I think it should be: "For methods with void return value or has the same return type as the argument and a single argument (setters)". Because of the example at in the section "Class and Struct Properties" where the setter also returns a value.