diktat icon indicating copy to clipboard operation
diktat copied to clipboard

Diktat should either allow documentation of class fields in class KDoc via @property tag or have special error message for this case

Open petertrr opened this issue 4 years ago • 1 comments

Now it's confusing: there is documentation, but not where diktat expects it, so it says that there is no documentation.

Environment information

  • diktat version: 0.4.1

petertrr avatar Mar 03 '21 10:03 petertrr

We should support permissive mode: if property is documented in class KDoc, then we shouldn't emit a warning. If there is no KDoc, we should suyggest to add it in clas body

petertrr avatar Jul 30 '21 14:07 petertrr

already supported: we generates KDoc for constructors with generating @param and @property

nulls avatar Dec 19 '23 12:12 nulls