Exclude **/node_modules/** from build files search#794
Exclude **/node_modules/** from build files search#794gluxon wants to merge 1 commit intomicrosoft:mainfrom
**/node_modules/** from build files search#794Conversation
|
Hi @gluxon, Thank you for contribution. I understand your demand. What about reusing the value set by the setting The |
|
Thanks for the suggestion! Would you also recommend copying over the I would be worried about that schema getting out of sync between this repository and https://github.com/microsoft/vscode-java if we were to copy it. |
Sorry, do you mean duplicating that setting into this extension as well? |
|
Right! Would you recommend copying the vscode-java-dependency/package.json Line 228 in b3d964b I also had a small question on whether it makes sense to reuse the |
|
Thank you for the clarification. I think we do not need to duplicate it, since that will confuse the users if they see two similar settings there. There is very little chance that the schema will change for that setting. If you want to make sure no regression will happen in the future, maybe add a very simple test case - to verify that setting is an array. This can be a guard. |
|
Testing the proposed changes here: 423b835 This seems to work well when the
But since if only
Is that okay? I think we would have to copy the |
|
@jdneo Is there a recommendation for the problem mentioned in the last comment? If this is too complicated to do, I can close this PR. |


This is a strange PR and I would have no qualms with it being rejected.
Similar to microsoft/vscode-java-debug#1234, I'm hoping to ignore
node_modulesto prevent large CPU usage from this extension when my teammates open a Node.js project. There's details in the linked pull request, but happy to elaborate if there's questions. Thanks!