Claus Pedersen
Member³
I have the following code snippet in a program window package:
This is valid PL/SQL code, but because of the missing space between 2 and THEN in the IF statement, PL/SQL Developer can not parse the code.
The code content pane (to the left of the code) becomes empty and PLD says "Unable to perform operation due to errors in source code".
If I add a space in the IF statement in procedure tester2, method tester1 becomes visible in the code content pane (but not tester2). If I place the cursor on the keyword IF in procedure tester1, the END IF in method tester2 (!) is highlighted.
This also goes for the keyword LOOP (FOR i IN 1..10LOOP).
This used to work in version 11. Please fix this ASAP as it makes many of my packages very hard to edit in version 12 (as navigation
and syntax highlight fails).
I using version 12.0.4.1823 (64 bit)
Code:
CREATE OR REPLACE PACKAGE BODY test IS
PROCEDURE tester1 IS
BEGIN
IF 1=2THEN
NULL;
END IF;
END;
PROCEDURE tester2 IS
BEGIN
IF 1=2THEN
NULL;
END IF;
END;
END;
This is valid PL/SQL code, but because of the missing space between 2 and THEN in the IF statement, PL/SQL Developer can not parse the code.
The code content pane (to the left of the code) becomes empty and PLD says "Unable to perform operation due to errors in source code".
If I add a space in the IF statement in procedure tester2, method tester1 becomes visible in the code content pane (but not tester2). If I place the cursor on the keyword IF in procedure tester1, the END IF in method tester2 (!) is highlighted.
This also goes for the keyword LOOP (FOR i IN 1..10LOOP).
This used to work in version 11. Please fix this ASAP as it makes many of my packages very hard to edit in version 12 (as navigation
and syntax highlight fails).
I using version 12.0.4.1823 (64 bit)