1

I see the Javadocs for methods and fields OK. When the cursor goes over a reference of some method or field and I promptly press Ctrl, I see JavaDoc. When I turn on the "show quick doc on mouse move" editor setting, I see the JavaDoc on simple hovering, too. Ctrl+Q also works OK.

But for a local variable by all the three methods I see only the frame of the hint with the definition line. I even tried to put the comment inside the line - it is ignored. How can I see the JavaDoc written for the local variable? What is more, Android Studio differs the javadoc comment to a local from a usual one. But doesn't show it.

    //the code:
    /** subsums of currently checked set of banknotes, according to banknotes values*/
    long[] subSums = new long[indicesNumber];

And this is what I see as the Javadoc: enter image description here

How can I make the Android Studio to show the local javadocs, too? Eclipse has no problems with it.

Gangnus
  • 24,044
  • 16
  • 90
  • 149
  • It seems that using normal comments and useful variable names are the only ways as noted in an [answer to "Javadoc for local variables?"](http://stackoverflow.com/a/10566366/1276636). – Sufian Mar 22 '16 at 12:36
  • This could be a feature request and come in handy for some. :) – Sufian Mar 22 '16 at 12:38

0 Answers0