Question

How can I find usages of single let's say editor template in Visual studio? Or maybe in other direction how can I goto template which is rendered with EditorFor?

Was it helpful?

Solution

There is one workaround/help. If you have Visual Studio 2013 and Web Essentials installed you can CTRL+click anywhere on the page and the menu like this pops up.

enter image description here

If you click Inspect you can click on any element on page and then you cursor in Visual Studio moves to corresponding View/PartialView/DisplayTemplate/...

Mads Kristensen post on Web essentials 2013

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top