Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get Resharper to ignore the Designer file when navigating to a class?

Tags:

resharper

In Resharper, if you ctrl-click the name of a class to naviate to its definition and that has a designer fie, Resharper will ask if I want to go to the X.cs or X.Designer.cs because the class is partial.

Does anyone know how to disable this annoyance so that it just goes to X.cs and ignores designer files?

like image 448
Josh Kodroff Avatar asked Jan 07 '09 17:01

Josh Kodroff


1 Answers

A workaround I use is Ctrl-Shift-N (ReSharper classic bindings) or Ctrl-T (Visual Studio bindings) and start typing the class name. If you have your classes in files with the same name, you'll then be able to choose the correct one from the dropdown list.

like image 187
Mike Scott Avatar answered Sep 28 '22 10:09

Mike Scott