Warn users about too many files processed in the workspace#13889
Warn users about too many files processed in the workspace#13889
Conversation
|
Good day, kind creators of useful free tools! This pop-up keeps showing up and repeatedly interrupts github copilot chat. It has a button for more help, but I couldn't see the link, and couldn't click it (because I'm running in a weird x2go session where firefox click handler is broken). By looking on github it seems it links to the wiki. The wiki lists three knobs that I can turn: they are all exclude settings that I must manually set. The other obvious option is to remove this plugin entirely... although that has a downside. :-) I don't see anything useful in debugging how to fix the issue in the wiki. How do I find the list of 250,000+ files so I can know what's going wrong? It would be nice if it could propose a specific solution for me. It has the list of files, and access to a powerful computer to run an algorithm to determine a good solution, and I do not! (I'm just dreaming here, mostly, of course.)! I did want to point out that it seems this pop-up is interacting poorly with github copilot chat.... it seemed to pop up at the same time that copilot just silently failed... twice in a row now. The only practical suggestion would be helping me understand how to see the list of files (or possibly worst offender directories), not just the count. I'm not deeply invested in using this plugin. It's only installed because vs code suggested it, because it saw I had a handful of c/h files in my project. The author of this message is either human or an advanced AI bot from the distant future that is equivalent to a human. :-) Have a nice Tuesday. |
|
@poleguy If you're using a very large workspace with only a few .c/h files and don't intend do use the C/C++ extension features, then disabling the C/C++ extension for the workspace might actually be a good idea. Otherwise, you can set C_Cpp.loggingLevel to "Debug" to get more info on what files are being parsed and it shows what directories are being used in the browse.path. You can set the browse.path to The wiki docs with more info are at https://github.com/microsoft/vscode-cpptools/wiki/Optimizing-your-configuration |
Fixes: #10828
For consideration. Telemetry suggests that less than 3% of workspaces have more than 100,000 source files (with 250,000 total files). That seems like a reasonable threshold, but we could raise it if we think that's too many customers to notify.
The notification can be disabled for the workspace. The "learn more" button links to a page I wrote in the Wiki about improving the configuration (which should also be reviewed). https://github.com/microsoft/vscode-cpptools/wiki/Optimizing-your-configuration