Skip to content

fix: improve file type detection and C/C++ AST extraction#497

Merged
zhoujh01 merged 1 commit intovolcengine:mainfrom
yangxinxin-7:feat/code_fix
Mar 9, 2026
Merged

fix: improve file type detection and C/C++ AST extraction#497
zhoujh01 merged 1 commit intovolcengine:mainfrom
yangxinxin-7:feat/code_fix

Conversation

@yangxinxin-7
Copy link
Collaborator

  • Fix ResourceContentType.UNKNOWN AttributeError by returning None for
    unrecognized file types, with WARNING log and summary fallback
  • Expand text_extensions with lua, common scripting, config, and more
    programming language suffixes (.dart, .vue, .proto, .tf, etc.)
  • Enhance CppExtractor to handle typedef struct and function prototypes,
    refactor with shared _process_siblings helper for top-level and namespace
  • Add unit tests for typedef struct, function prototypes, namespace, and
    declaration+definition coexistence scenarios

@zhoujh01 zhoujh01 merged commit b774077 into volcengine:main Mar 9, 2026
5 of 6 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenViking project Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants