Toad World® Forums

Formatting of comment blocks in package headers


#1

All,

In package headers we use a standardized comment block following each procedure or function prototype statement.

This works fine, except that the last block is indented less than all the preceding blocks.

Could it be the formatter assumes the block to be preceding the prototype statement rather than following it?
In that case I would assume that the last comment block is treated as belonging with the initialization routine of the package, deserving one indent level fewer thatn all the other ones.

To my knowledge, however, an init routine can exist only in the body of the package, right?

So would it be possible to treat all comment blocks in the package header equal?

Thanks in advance,
Abe Kornelis.


#2

Sorry, I was interrupted and forgot to attach the screenshot I made.

Toad_formatter_pkg_comments.png

I’ve hidden the larger opart of the comments blocks, to reduce size…

Abe.