0 Replies Latest reply on Jan 16, 2017 3:12 AM by Liam D

    [4.2EA2] Formatter ignoring setting for variable names?

    Liam D

      In Settings, advanced format, General, Identifiers case I have 'keep unchanged', and yet when I try and type the following code (we use a lower case initial letter and then the rest of the variable name in CamelCase).

      function  doCheckHighlightDifference(iNumerator number, iDenominator number) return varchar2 as

          kColourStandard CONSTANT VARCHAR2(5) := 'black' ;

          kColourRed CONSTANT VARCHAR2(3) := 'red' ;

        BEGIN

          IF iDenominator = 0 THEN

              IF iNumerator = 0 THEN

                  RETURN kColourStandard;

              ELSE

                  RETURN kColourRed;

              END IF;

          ELSE

              RETURN kColourStandard;

          END IF;

        END doCheckHighlightDifference ;

       

      The formatter keeps changing the variable/ constant/ function names to lower case.