0

I have a custom View class and in its comment, I want to type something like:

/**
* (...)
* When using this view, specify [myView_screenName] in the layout.
*/

If in the [] parentheses in KDoc is a method, Android Studio automatically links it and you can easily jump there.

Is it possible to do something similar for custom attribute i.e.: reference it from the KDoc so that the jump leads to corresponding <declare-styleable> tag?
If so, how?

Smeagol
  • 593
  • 9
  • 23

0 Answers0