New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 845165 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Codesearch: provide hover tooltips with documentation

Project Member Reported by agable@google.com, May 21 2018

Issue description

When a user hovers over a method name in a function call, we should pop up a bubble showing the documentation for that method, if it exists.

Compare:
External (no bubble): https://cs.chromium.org/chromium/src/base/command_line.cc?l=89&rcl=a843b673246d7978981ce847f5a6250790ceec39
Internal (bubble): http://shortn/_wcA3B5XwnD

I'm not sure where the info for those bubbles comes from. It looks like the hover first triggers a request to kythe to get the location of the function definition, and then a second request to a different service. So it might mean running+maintaining+populating a wholly separate pipeline. But it's worth looking into.
 

Sign in to add a comment