An IDE should get access to the specific directory that contains the project, not everything.
I feel that users like me are far more prevalent than users who want to rigorously audit every path the IDE may want to open.
Vscode on snap runs unconfined for example, that's explicit