Repository navigation
pybind11 Navigate: a VS Code extension for navigating from Python to C++ bindings #6281
Alanxtl
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I'd like to announce pybind11 Navigate,
I often found myself searching through C++ source to find the pybind11 registration behind a Python class or method. To make that easier, I built pybind11 Navigate, a VS Code extension.
In a Python file, you can press F12 or Ctrl+click on a class, method, or module function to jump to its C++ registration. If a method has multiple registrations, the extension returns all matching locations.
The extension scans binding source files in the VS Code workspace and can follow common Python re-exports. If the Python and C++ code are in separate projects, you can add both folders to the same workspace.
It’s an early version, and I’d appreciate feedback or examples where navigation doesn’t work as expected.
All reactions