Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show constructor properties as properties #1880

Closed
rnett opened this issue Apr 22, 2021 · 0 comments · Fixed by #2313
Closed

Show constructor properties as properties #1880

rnett opened this issue Apr 22, 2021 · 0 comments · Fixed by #2313
Assignees
Labels
enhancement An issue for a feature or an overall improvement

Comments

@rnett
Copy link
Contributor

rnett commented Apr 22, 2021

Is your feature request related to a problem? Please describe
Currently, when dokka HTML renders a constructor, it shows the parameters, i.e.:
image

However, these constructor parameters are constructor properties, and it would be nice to have them shown as such.

Describe the solution you'd like
Constructor parameters are rendered with their property declarations (val/var, any annotations, links) in the primary class constructors. Imo, I wouldn't do this for the constructor list, just the class view.

@rnett rnett added the enhancement An issue for a feature or an overall improvement label Apr 22, 2021
@IgnatBeresnev IgnatBeresnev self-assigned this Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An issue for a feature or an overall improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants