Show full import of symbol in VS Code hover popups
09:46 04 Aug 2025

NavBar comes from an npm package. Right now, the hover popup only shows import Navbar. This only tells me it's imported.

I'd like to know where it's imported from without scrolling up to the imports or cmd+clicking to go to types or source.

Is this possible? If not, can I add it via an extension?

Possible display options:

  • import { Footer, Layout, Navbar, ThemeSwitch } from 'nextra-theme-blog';
  • import { Navbar } from 'nextra-theme-blog';
  • nextra-theme-blog > Navbar
  • From nextra-theme-blog

Illustrative example

typescript visual-studio-code