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.
This PR changes what non-project files are indexed:
Packages
folder, as well as any cached, read only/referenced packages, and anyfile:
or git based packages.Library
folder is made to avoid a lengthy reimport all, or a player project is built into the root folder of the Unity projectPackages/manifest.json
file to add a package that hasn't yet been resolved by Unity).Note that the contents of these folders will only show up when the "Include non-solution items" checkbox is selected in Find in Files.
The code will keep the index up to date as packages are added/removed/updated, and root folders are added/removed and when the project model is reloaded (meaning packages are correctly resolved).
This fixes RIDER-25340 as well as reducing the indexing time for projects that include extra folders at the root.