For VS2012-19 version of this extension visit GitHub: https://github.com/oleg-shilo/Retired-VSIX These useful property manipulation routines are usually parts of the other bigger products/extensions. Unfortunately, some of them are no longer available with their original packages. Or having the whole heavy extension package may not be very practical. So I recreated them from scratch. The functionality includes encapsulation of a field and conversion of the auto-properties to their full property equivalent (and back). Note: conversion back is subject to some limitations (see Limitations sections). To use the extension just place the caret at the line with the property/field name and press the shortcut (default Ctrl+, Ctrl+) and then select the desired conversion type from the list. You can also modify the default code template for the full property definition. The template is accessible from the Tools->'PropMan - Config" (see screenshot below). If the built-in shortcuts are in conflict with other extensions you may need to reassign them from the Visual Studio options dialog. |