Update (9/19/18): Support deprecated: This extension is now fully integrated in Visual Studio 2017.
Please direct all issues to https://developercommunity.visualstudio.com, or use the Report A Problem feature within Visual Studio, located in the upper right hand corner.
What it does: Extracts selected code into its own function and replaces the selected code with a function call
**How to invoke the feature: **Select code, right-click, go to Refactor..., and click Extract Function. Alternately, select code and press Ctrl+R followed by Ctrl+M.
Note: This extension is designed to work only with releases of Visual Studio 2015 from Preview or later. Download our latest release -- VS2015 RC (for free!) -- athttps://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs.