[Feature] Add support for .hh C++ header extension#619
Merged
Shashankss1205 merged 1 commit intoCodeGraphContext:mainfrom Feb 17, 2026
Merged
[Feature] Add support for .hh C++ header extension#619Shashankss1205 merged 1 commit intoCodeGraphContext:mainfrom
Shashankss1205 merged 1 commit intoCodeGraphContext:mainfrom
Conversation
- Add .hh extension to parsers dictionary - Add .hh extension to pre_scan_for_imports method The .hh extension is a common C++ header file extension used in many projects, particularly those following modern C++ conventions. Closes CodeGraphContext#469
|
@magic-peach is attempting to deploy a commit to the shashankss1205's projects Team on Vercel. A member of the Team first needs to authorize it. |
Collaborator
|
Can you please add a ss of it working?? You can write a simpler .hh file in a temp folder, index it using |
psihius
pushed a commit
to psihius/CodeGraphContext
that referenced
this pull request
Mar 24, 2026
[Feature] Add support for .hh C++ header extension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for the .hh C++ header file extension as requested in issue #469.
Changes Made
Background
The .hh extension is a common C++ header file extension used in many projects, particularly those following modern C++ conventions. While .h and .hpp are already supported, .hh was missing from the supported extensions.
Technical Details
The .hh extension is now treated the same way as .h and .hpp extensions:
Testing
The change follows the exact same pattern as existing .h and .hpp extensions, ensuring consistent behavior across all C++ header file types.
Closes #469