Analysis server does not provide getter dartdoc when hovering over setter. #38963
Labels
devexp-server
Issues related to some aspect of the analysis server
legacy-area-analyzer
Use area-devexp instead.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The recommended way to document a getter/setter-pair property is to put DartDoc on the getter only. The DartDoc tool then documents similarly to a field.
The analysis server does not provide the getter DartDoc when hovering over a setter. This can be seen in, e.g., VSCode.
Take code like:
It should definitely show the getter docs for
bar
.Whether to show the getter or setter docs for
foo
is a design decision. The DartDoc tool ignores the setter docs.See #38892 (and perhaps #2798)
The text was updated successfully, but these errors were encountered: