Formatting for Variables - Feature Request

mscirrimscirri Posts: 3 Bronze 1
Can I make a suggestion to add a feature that lets you specify that variables are always put on new lines and indented?   Is this the right place for that.

Change this:

declare @ErrorMessage nvarchar(max), @ErrorLine nvarchar(5) = convert(nvarchar(5), error_line()),
        @ErrorNumber int = error_number();

To this:

declare
    @ErrorMessage nvarchar(max),
    @ErrorLine nvarchar(5) = convert(nvarchar(5), error_line()),
    @ErrorNumber int = error_number();
Tagged:
Sign In or Register to comment.