docs: add search performance troubleshooting for excessive rg processes#9994
Closed
1chooo wants to merge 1 commit into
Closed
docs: add search performance troubleshooting for excessive rg processes#99941chooo wants to merge 1 commit into
1chooo wants to merge 1 commit into
Conversation
Add a 'Search performance' subsection to the 'Search across files' section in codebasics.md explaining that excessive background `rg` processes are caused by the 'Use Exclude Settings and Ignore Files' toggle being disabled. Includes four remediation steps: checking the toggle, verifying search.useIgnoreFiles, adding explicit search.exclude patterns, and disabling search.followSymlinks for worktree/symlink-heavy workspaces. Also adds a Common question entry linking to the new section. Closes microsoft#9950 Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
|
Issue is already assigned. |
Contributor
Author
|
Thanks for reviewing!!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
### Search performancesubsection to the## Search across filessection indocs/editing/codebasics.md, covering the four troubleshooting steps from issue Add troubleshooting steps for the spawning of excessive rg processes #9950rgto run with--no-ignore, scanningnode_modulesand other large directoriessearch.excludeJSON example and asearch.followSymlinkstip for worktree/symlink-heavy workspacesCloses #9950
Test plan
### Search performancesection renders correctly on the docs sitesetting(...)macros resolve properly#search-performanceanchor link in the Common questions entry worksMade with Cursor