Is there a way to maintain spacing when formatting or using code clean up?

My goal is to preserve code like this:

            var formFactor = new db_FormFactor
                                 {
                                     Cols               = Settings.FormFactorConfiguration.Columns,
                                     Rows               = Settings.FormFactorConfiguration.Rows,
                                     FirstWellCenterX   = Settings.FormFactorConfiguration.FirstWellCenterX,
                                     FirstWellCenterY   = Settings.FormFactorConfiguration.FirstWellCenterY,
                                     FirstWellCenterZ   = Settings.FormFactorConfiguration.FirstWellCenterZ,
                                     WellHeight         = Settings.FormFactorConfiguration.WellHeight,
                                     WellWidth          = Settings.FormFactorConfiguration.WellWidth,
                                     WellPitchX         = Settings.FormFactorConfiguration.WellPitchX,
                                     WellPitchY         = Settings.FormFactorConfiguration.WellPitchY,
                                     Name               = Settings.FormFactorConfiguration.Name,
                                     Description        = Settings.FormFactorConfiguration.Description
                                 };


Thanks in advance.

1 comment
Comment actions Permalink

Hello Seamus,

I'm afraid there's no way to preserve such formatting at the moment. Thank
you!

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

My goal is to preserve code like this:

var formFactor = new db_FormFactor
{
Cols               =
Settings.FormFactorConfiguration.Columns,
Rows               =
Settings.FormFactorConfiguration.Rows,
FirstWellCenterX   =
Settings.FormFactorConfiguration.FirstWellCenterX,
FirstWellCenterY   =
Settings.FormFactorConfiguration.FirstWellCenterY,
FirstWellCenterZ   =
Settings.FormFactorConfiguration.FirstWellCenterZ,
WellHeight         =
Settings.FormFactorConfiguration.WellHeight,
WellWidth          =
Settings.FormFactorConfiguration.WellWidth,
WellPitchX         =
Settings.FormFactorConfiguration.WellPitchX,
WellPitchY         =
Settings.FormFactorConfiguration.WellPitchY,
Name               =
Settings.FormFactorConfiguration.Name,
Description        =
Settings.FormFactorConfiguration.Description
};
Thanks in advance.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5265207#5265207



0

Please sign in to leave a comment.