Logger: show/hide or dim (highlight) debug/instrumentation code Therefore, I have raised the following enhancement request at the SQL Developer Exchange: However, the readability of code is still an issue so it was with that in mind that I suggested that perhaps an enhancement of our favourite development IDE would go a long way to improving the situation. In the judgement of some (myself included) the addition of the synonym to the standard package would run the risk of causing clashes on some people’s systems and ensuring that Logger is installable on all systems “out of the box” should, I think, take precedence. The motive behind this request was to allow our PL/SQL code to remain easy to read, in spite of all the calls to logger sprinkled throughout that are needed for effective debugging and instrumentation. Juergen Schuster, who has been enthusiastically trying OraOpenSource Logger, raised an idea for the debug/instrumentation library requesting the addition of a standard synonym “l” for the package.
#Pl sql developer 11.0.3 update
UPDATE – new feature added in Oracle SQL Developer 18.3
#Pl sql developer 11.0.3 how to
I haven’t worked out how to include these in the rule yet.Įnhancement Request for SQL Developer for users of Logger The only thing missing is that it doesn’t pick up the standard logger variable declarations (scope and params). I’m not very familiar with the syntax but you can add additional libraries by adding more lines like this to the rule:
![pl sql developer 11.0.3 pl sql developer 11.0.3](https://origin2.cdn.componentsource.com/sites/default/files/styles/image_medium/public/images/feature_release/2018/02/14/img_600736.png)
You can view (and edit, if you want) the rule in PL/SQL Custom Syntax Rules:
![pl sql developer 11.0.3 pl sql developer 11.0.3](https://www.allroundautomations.com/wp/inhoud/uploads/pls110planwindow.png)
![pl sql developer 11.0.3 pl sql developer 11.0.3](https://www.thatjeffsmith.com/wp-content/uploads/2020/10/image-28.png)
You can customise the colour for this rule in Tools -> Preferences -> Code Editor -> PL/SQL Syntax Colors – the one for logger etc. Any calls to logger, dbms_output and apex_debug will be greyed out. Oracle SQL Developer 18.3 adds this feature with PL/SQL Custom Syntax Rules – and the best thing is, these rules are enabled by default so you don’t have to do anything. Custom Syntax Highlighting in SQL DeveloperĪ few years ago I raised an enhancement request for SQL Developer to add custom highlighting, specifically to “grey out” all the calls to logger throughout my code.