Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

PL/SQL Custom Syntax PlSqlLogger fails to highlight one package. Package too big?

MWRA EnQualMay 21 2024

I am using SQL Developer version 23.1.1.345.

My PlSqlLogger Custom Syntax Rule looks like this (out of the box):

/**
* Highlighting rule for DBMS_OUTPUT, APEX_DEBUG, and logger API:
* https://apex.oracle.com/pls/apex/f?p=43135:7:::NO:RP,7:P7_ID:44501
*/
PlSqlLogger:
[pkg) name
& (?pkg = 'DBMS_OUTPUT' | ?pkg = 'APEX_DEBUG' |
?pkg = 'LOG' | ?pkg = 'logger' -- pattern match is case insensitive
)
& (pkg^ = node | pkg^^ = node)
& [node) procedure_call
->
;

Logger is installed in schema A.

Schema B has a synonym to A.logger

In schema B, syntax highlighting works (light blue under default scheme) for all logger calls except for one nearly 7,000 line PL/SQL package. Is there a package size limit beyond which the PlSqlLogger custom syntax stops applying formatting? I can (and probably should) ask the developer to split the package into smaller sub-packages, but it would be good to know if code size might be the issue here and if there some other work-around to try.

Thank you.

Doug

This post has been answered by thatJeffSmith-Oracle on May 22 2024
Jump to Answer

Comments

Post Details

Added on May 21 2024
2 comments
129 views