FrankB
Member²
Hello,
we use conditional compiling for hiding unneeded procedures.
This works well with Oracle, but PL/SQL-Dev. does not show such procedures any more regardless if the condition is true or false. With this error the code could not be really managed cause some sections will disappear and only be found in the right pane of the complete text.
For example (here in Package-Specification):
CREATE OR REPLACE PACKAGE MURKS AS
$IF FEATURES.feature1 $THEN
PROCEDURE BlaBlub();
$END
END MURKS;
If you remove the $IF- and $END-lines or comment them out, the procedure will reappear again in procedure brower list or package editor.
A simple $ in the text will hide the following procedure definition.
It seems that the precompiler directives are not correctly parsed by the editor.
Any hints appreciated.
Regards,
Frank
we use conditional compiling for hiding unneeded procedures.
This works well with Oracle, but PL/SQL-Dev. does not show such procedures any more regardless if the condition is true or false. With this error the code could not be really managed cause some sections will disappear and only be found in the right pane of the complete text.
For example (here in Package-Specification):
CREATE OR REPLACE PACKAGE MURKS AS
$IF FEATURES.feature1 $THEN
PROCEDURE BlaBlub();
$END
END MURKS;
If you remove the $IF- and $END-lines or comment them out, the procedure will reappear again in procedure brower list or package editor.
A simple $ in the text will hide the following procedure definition.
It seems that the precompiler directives are not correctly parsed by the editor.
Any hints appreciated.
Regards,
Frank