Skip to content

v0.19.2 — Extend content fill to framework headers outside project root

Choose a tag to compare

@turbyho turbyho released this 12 Jul 22:29
v0.19.2

Overview

Fixes _build_filtered_file_content to store ifdef-filtered content for files
outside the project root (PlatformIO framework headers, ESP-IDF components,
Zephyr modules). Previously these files were registered in the files table but
never had their content column filled, causing search_content to miss
framework-level declarations and triggering unnecessary re-tokenization on
every reindex.

Changes

Fixes

  • Content fill for external files — framework headers outside project root
    are now stored with absolute paths, matching the fallback already used by
    store_symbols_for_unit
File Change
src/fw_context_mcp/indexer/ops.py Use absolute path as fallback instead of skipping files outside project root

Breaking changes

None.