microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.51k stars 1.55k forks source link

Unnecessary duplicate "Processing folder" calls may be run with multiple root folders #5156

Open sean-mcmanus opened 4 years ago

sean-mcmanus commented 4 years ago

With the new multi-root implementation (0.27.0-insiders3 or later), if you see a lot of duplicate "Processing folder" in the logging and CPU is being used then it's this issue (it's common with system header paths that are shared across workspace folders). It's somewhat "by design" because every folder could have different settings (e.g. files.exclude, limitSymbolsToIncludedHeaders, etc.), so we don't know currently which "Processing folders" are unnecessary (without adding additional code).

bobbrow commented 9 months ago

@sean-mcmanus is this still an issue? I was thinking this was resolved when we stopped spawning an instance of cpptools.exe for each folder.

sean-mcmanus commented 9 months ago

@bobbrow It's still an issue, although I think low priority, hence the "more votes needed".