Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>C/C++ Peek HoverNew to Visual Studio Code? Get it now.
C/C++ Peek Hover

C/C++ Peek Hover

Thed Arthur

|
4 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

C/C++ Peek Hover

A lightweight VS Code extension that provides a quick peek at C/C++ function implementations directly in a hover tooltip.

Features

  • Hover Preview: Hover over a function call in your C, C++, .cc, .hh, .hpp, .cpp, .h, .c files to see its implementation.
  • Workspace Search: Automatically searches for the function definition across all C/C++ files in your workspace.
  • Syntax Highlighting: Displays the implementation code with proper C syntax highlighting in the hover.

Requirements

  • VS Code 1.80.0 or higher.

How it Works

The extension scans your workspace for function definitions matching the name of the function you are hovering over. It uses a regex-based approach to find the implementation block and displays it.

Known Issues

  • Regex Parsing: The current implementation uses regular expressions to find function definitions. This may not cover all complex C++ function signatures or formatting styles perfectly.
  • Performance: For very large workspaces, the search might take a moment as it scans files.

Release Notes

0.0.1

  • Initial release of C/C++ Peek Hover.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft