Toad World® Forums

Formatting of column aliases insufficient indentation

All,

I'm on Toad Beta 12.12.0.7.

On a select statement where some columns have an alias and some do not, I get the following result:

I think the source code would appear cleaner, better readable and better maintainable
if the aliases lined up where they would have been if all columns had had an alias.

Now, since some of the un-aliased columns have longer definitions,
the aliases and column definitions are intermingled in the same vertical 'column'.

Would this be a fixable issue?

Kind regards,
Abe Kornelis
|=========

Abe,

“if all columns had an alias” : If I follow this rule then I would get the aliases aligned near the end of the last, long, replace(…) item, hence about near the right hand side of the window. Then we can easily have line overflow - unless we limit the movement of the alias column to avoid this. Also, the longer the distance between item and its alias, the harder to match them by the eye (much white space between short items and short aliases whenever there is at least one long name pushing the alias column to the right).

Is this reflecting your idea?

Thanks,
Andre