Add troubleshooting steps for the spawning of excessive rg processes.
Users still regularly report the an excessive number of rg (ripgrep) processes are spawned. Looking closely at these reports, almost all of them show rg being executed with the --no-ignore flag. When run with this option, rg searches through directories like node_modules, which drastically increases the execution time. I suspect this happens because users do not understand the meaning of the Use Exclude Setting and Ignore Files button in the VS Code Search UI. With the toggle off, rg is executed with the --no-ignore flag.
Troubleshooting steps should advise users encountering this issue to:
- Check the toggle button: Ensure that the "Use Exclude Settings and Ignore Files" button is enabled in the Search UI.
- Verify your ignore settings: Confirm that
search.useIgnoreFiles is set to true in your settings.
- Disable symbolic link following: If the issue persists, setting
search.followSymlinks to false may resolve it.
Context:
Add troubleshooting steps for the spawning of excessive rg processes.
Users still regularly report the an excessive number of
rg(ripgrep) processes are spawned. Looking closely at these reports, almost all of them showrgbeing executed with the--no-ignoreflag. When run with this option,rgsearches through directories likenode_modules, which drastically increases the execution time. I suspect this happens because users do not understand the meaning of theUse Exclude Setting and Ignore Filesbutton in the VS Code Search UI. With the toggle off,rgis executed with the--no-ignoreflag.Troubleshooting steps should advise users encountering this issue to:
search.useIgnoreFilesis set totruein your settings.search.followSymlinkstofalsemay resolve it.Context: