Can ReSharper ignore projects/tests in navigation
Asked Answered
W

3

10

When using the various navigation and usage features of ReSharper, is there a way to make it hide some of the projects (with tests) in the solution?

Often when I'm browsing through the code, I'm not really interested in the tests, but only the production code.

Waterbuck answered 16/10, 2012 at 9:1 Comment(0)
W
11

I received this answer from the Resharper support team.

I have looked at "find usages" deeper and figured out that there is the following item in filter dropdown -- "Show Unit Test Usages" (attached). So if you uncheck this item -- usages from Test Projects won't appear in search result.

enter image description here

Waterbuck answered 2/11, 2012 at 11:19 Comment(0)
S
0

Well im not sure this works for the navigation and usage features but for analysis it does, tryto use the skip files and folders menu to add folders which should be excluded.

Under Optionmenu use Settings under the Code Inspection section and select "Edit Items to Skip" and select your folder.

Take a look at this Article too

Stoush answered 16/10, 2012 at 9:4 Comment(0)
F
0

First, there's no setting in ReSharper to "forget" a certain project in solution.

However, in some cases, navigation combos may help you out.

For example, when you search for types, files or symbols with ReSharper, you can restrict search scope with navigation combos. Say, in NHibernate, entering "dm spec " in Go to Type restricts search scope to Projects\Core\NHibernate.DomainModel\NHSpecific

Firenze answered 20/10, 2012 at 17:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.