loading...

TIL Android Studio can show KDocs on hover

notwoods profile image Tiger Oakes Originally published at tigeroakes.com on ・1 min read

I like easy access to documentation written in comments. In Android Studio, and other JetBrains editors, you can display function types and docs on hover when you turn on a simple setting.

In Android Studio’s settings window, go to “Editor” > “General” and check “Show quick documentation on mouse move”. You can leave the delay at the default value.

Android Studio settings with Show quick documentation on mouse move highlighted

When editing code, you can quickly check documentation by just hovering over code.

Android Studio displaying function type and documentation on hover

Posted on by:

notwoods profile

Tiger Oakes

@notwoods

Web & Android dev from Hawaii, living in Canada. Working on PWA support in Firefox Android! 🌴🍁

Discussion

pic
Editor guide