1 Reply Latest reply on Oct 3, 2016 3:50 PM by Vadim Tropashko-Oracle

    [42EA] Formatter bug (maybe)

    Patrick Jolliffe

      Seems to only add extra line after procedure definition if 5 or more parameters.  Not sure if this is by design, or if this is a bug.

      To me it looks inconsistent, I think it should be one or the other always (possibly controlled by preference).

      --After formatting

      CREATE OR REPLACE PACKAGE sqldev_test AS

         PROCEDURE p1 (

            a   IN VARCHAR2

         );

         PROCEDURE p2 (

            a   IN VARCHAR2,

            b   IN VARCHAR2

         );

         PROCEDURE p3 (

            a   IN VARCHAR2,

            b   IN VARCHAR2,

            c   IN VARCHAR2

         );

         PROCEDURE p4 (

            a   IN VARCHAR2,

            b   IN VARCHAR2,

            c   IN VARCHAR2,

            d   IN VARCHAR2

         );

         PROCEDURE p5 (

            a   IN VARCHAR2,

            b   IN VARCHAR2,

            c   IN VARCHAR2,

            d   IN VARCHAR2,

            e   IN VARCHAR2

         );

       

         PROCEDURE p6 (

            a   IN VARCHAR2,

            b   IN VARCHAR2,

            c   IN VARCHAR2,

            d   IN VARCHAR2,

            e   IN VARCHAR2,

            f   IN VARCHAR2

         );

       

      END;

      /