Let’s assume my project structure is as follows:
root/
root/fold1/
root/fold1/■■■/fold1_1/
root/fold1/■■■/fold1_2/
Because fold1 contains useful memory.md files that guide the work within fold1_1, I need to keep fold1 accessible in my workspace, rather than just opening fold1_1 directly. Additionally, I need to primarily focus my work within fold1_1 (which represents a specific experiment folder).
To achieve this, I have set up a VS Code multi-root workspace where I’ve added both fold1 and fold1_1 as separate root folders.
The problem is that now, the codebase indexing feature indexes the contents of fold1_1 twice: once as a subdirectory scanned under the fold1 root, and again as its own separate fold1_1 root added to the workspace. This duplicate indexing is causing a severe performance loss.