4

Is there a way of selecting HTML or razor code in the VS Editor and extract it into a separate view file?

Visual Studio 2013 already has a similar feature in WebForms where code selection can be extracted into a UserControl. Also, RubyMine, Resharper's sister product, has a "Extract Partial View" feature that extracts code into a separate view file.

I'd wager that such a feature exists in either product, but I haven't been able to find it. Does it exist?

ATL_DEV
  • 9,256
  • 11
  • 60
  • 102

1 Answers1

1

https://youtrack.jetbrains.com/issue/RSRP-263354

Doesn't look like it will be possible any time soon unfortunately

user917170
  • 1,591
  • 15
  • 28