Skip to content

Fix stale IntelliSense config after preset switches#4874

Open
Omotola wants to merge 1 commit intomainfrom
dev/oakeredolu/staleintellisense
Open

Fix stale IntelliSense config after preset switches#4874
Omotola wants to merge 1 commit intomainfrom
dev/oakeredolu/staleintellisense

Conversation

@Omotola
Copy link
Copy Markdown
Contributor

@Omotola Omotola commented Apr 9, 2026

Fixes stale cpptools custom-configuration entries that could persist after reconfigure/preset changes and cause Go to Definition to include inactive sources.

Changes
Clear stale per-folder file-index entries before rebuilding cpptools configuration data.
Track indexed files per folder to evict old mappings safely.
Add a regression unit test for folder refresh/preset-switch behavior.
Add CHANGELOG bug-fix entry referencing #4472.

@Omotola Omotola changed the title Fix stale IntelliSense config after preset switches (fixes [#4472](vscode-file://vscode-app/c:/Users/oakeredolu/AppData/Local/Programs/Microsoft%20VS%20Code/41dd792b5e/resources/app/out/vs/code/electron-browser/workbench/workbench.html)) Fix stale IntelliSense config after preset switches Apr 9, 2026
@hanniavalera hanniavalera force-pushed the dev/oakeredolu/staleintellisense branch from 809599e to e1c8fb1 Compare April 10, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant