Align enum values
Is there a setting to align explicit values of enums? Or should I add it
to the tracker?
Like:
public enum Numbers
{
One = 1,
Two = 2,
Three = 3,
Four = 4,
Five = 5,
}
instead of:
public enum Numbers
{
One = 1,
Two = 2,
Three = 3,
Four = 4,
Five = 5,
}
which is what I get after a reformat :(
Ronnie
Please sign in to leave a comment.
No, currently there is no such option.
Please could you ass corresponding feature request to our tracker
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Ronnie Barker" <omea@ronniebarker.me.uk> wrote in message
news:b5214413061c8c862605ceed776@news.jetbrains.com...
>
>
>
>
>
>
>
>
Hello Eugene,
26592 asses :)
@@@#$@$#@$#@$#!!!!
My fingers
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Ronnie Barker" <omea@ronniebarker.me.uk> wrote in message
news:b521441306368c8626422041820@news.jetbrains.com...
>
>
>
>> No, currently there is no such option.
>> Please could you ass corresponding feature request to our tracker
>
I would love this feature as well :)
--
Gabriel Lozano-Morán
The .NET Aficionado
http://www.pointerx.net
"Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
message news:e78crm$4jc$1@is.intellij.net...
>
>> Hello Eugene,
>>
>> 26592 asses :)
>>
>>
>>> No, currently there is no such option.
>>> Please could you ass corresponding feature request to our tracker
>>
>>
>
Gabriel Lozano-Morán wrote:
I know the delphi GExperts contain a function to align a selected text
to some searchstrings you type in:
so with these enums, you would use '=' as a left align string.
Nice thing is that this works with any text you select(constants,
variable assignments) etc...
It can also use multiple search strings, and reverse the texts on two
sides of the search string:
NameTextBox.Text := User.Name;
AdddressTextBox.Text := User.Address;
then reversing on the ':=' would result in
User.Name := NameTextBox.Text;
User.Address := AdddressTextBox.Text;
Regards,
Wiebe