Closed sigmaaa closed 5 months ago
The changes to IDFBuildConfiguration.java
involve the enhancement of the indexing process for compile commands. A new field tracks the timestamp of the compile_commands.json
file, and the indexing options now forcefully include index updates. Additionally, there's a session property being set to manage the state related to compile commands, suggesting an improvement in the build configuration's responsiveness to changes in the build environment.
File Path | Change Summary |
---|---|
.../idf/core/build/IDFBuildConfiguration.java |
Added TIMESTAMP_COMPILE_COMMANDS_PROPERTY field, updated getUpdateOptions to include FORCE_INDEX_INCLUSION , and added code to set a session property for compile commands timestamp. |
πβ¨ In the code where the rabbits hop, A timestamp field now takes its spot. Index with force, the build commands dance, In the JSON fields, the bits advance. π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ?
@sigmaaa hi !
Tested under: OS - Windows 10 ESP-IDF: v5.1.2
LGTM π All includes are resolved after changing Launch Mode between "Run" / "Debug". Also after Eclipse restart the build fixing unresolved includes.
Description
two problems were fixed in this PR:
Fixes # (IEP-1147)
Type of change
Please delete options that are not relevant.
How has this been tested?
Test 1:
Test Configuration:
Dependent components impacted by this PR:
Checklist
Summary by CodeRabbit
New Features
Refactor
Bug Fixes