This question is locked. New answers and comments are not allowed.
Is there a way to customize alignment for regions?
I'm coding in vb.net and to better find even at a glance regions I usually keep it at the border like that
But when I format code I have them aligned like that:
Wich makes really hard for me to spot them.
Or an alternative would be to modify the appearence (like for example having an inverted background/foreground for the region statement line)
Thanks
I'm coding in vb.net and to better find even at a glance regions I usually keep it at the border like that
#Region "Form validation"
Protected
Sub
ValidateExistingUserName(
ByVal
source
As
Object
,
ByVal
args
As
ServerValidateEventArgs)
Dim
userId
As
Integer
= Convert.ToInt32(EvaForm.DataKey(
"UserId"
))
args.IsValid =
Me
.Validator.UserNameIsFree(args.Value, userId)
End
Sub
....
But when I format code I have them aligned like that:
#Region "Form validation"
Protected
Sub
ValidateExistingUserName(
ByVal
source
As
Object
,
ByVal
args
As
ServerValidateEventArgs)
Dim
userId
As
Integer
= Convert.ToInt32(EvaForm.DataKey(
"UserId"
))
args.IsValid =
Me
.Validator.UserNameIsFree(args.Value, userId)
End
Sub
....
Wich makes really hard for me to spot them.
Or an alternative would be to modify the appearence (like for example having an inverted background/foreground for the region statement line)
Thanks