Multiple definitions exist for class... how to have it look only in relative root folder?

I've set up root "sources" in all the git repos in my project, which allows the editor to find a lot of the paths it couldn't, but it still thinks some classes in other repos are accessible by all of the repos... they're duplicated by developers previous to me, but for now I need to keep all the repos in the same project for time reasons.

Is there some way to complete this relative root pathing so the editor only looks for classes and methods in files from the same root folder? This is driving me crazy having to select the same relative file every time when the editor should already be able to figure this out.

1 comment

but for now I need to keep all the repos in the same project for time reasons

The indexes are common for the project, so there's no way to work your issue around except for creating a separate project for each repository or creating proper namespaces.

0

Please sign in to leave a comment.