I read of people using the extension "Code Aligment" and Resharper together. However I cannot find an option to prevent Reshparper from removing extra spaces in declarations.
Simplest case, this:
[Inject] public InputController inputController { private get; set; }
[Inject] public ICommandFactory commandFactory { private get; set; }
[Inject] public NetworkMachineManager machineManager { private get; set; }
always becomes this:
[Inject] public InputController inputController { private get; set; }
[Inject] public ICommandFactory commandFactory { private get; set; }
[Inject] public NetworkMachineManager machineManager { private get; set; }
is there any way to keep the alignment, but not loosing the other formatting features?
the feature is not implemented in Resharper. I added it in their wishlist.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.