JetBrains / JetBrains/resharper-unity

Remove Package/Tests folders from namespace providers

Open
#2,290 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.2k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

According to the unity package layout [here](https://docs.unity3d.com/Manual/cus-layout.html), the Tests folder should be in the package root, but they aren't removed from the namespace providers like the Runtime folder, leading to have to manually exclude them for every package. Since they have asmdefs they should probably not be providers.

Contributor guide

Open the contributing guide

Research direction

Start by locating the namespace-provider handling for Unity package folders and compare how the Runtime folder is excluded. Check how asmdefs affect provider selection; done when Package and Tests folders are no longer exposed as namespace providers and no longer require manual exclusion.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.