The COBOL Language Server appears to parse conditional compilation directives to determine the values of conditional compilation variables that condition certain parts of code in general, and the inclusion of COPYBOOKs in particular.
Z Open Editor could assign specifc coloring to code excluded by conditional compilation, for example by dimming the colors of the syntax highlighting, (set a level of transparency of the text).
I think Z Open Editor already has the ability to intervene on code colorization rendering since activating the link to view a copybook is already dependent on conditional compilation:
Description of the enhancement requested
The COBOL Language Server appears to parse conditional compilation directives to determine the values of conditional compilation variables that condition certain parts of code in general, and the inclusion of COPYBOOKs in particular.
Z Open Editor could assign specifc coloring to code excluded by conditional compilation, for example by dimming the colors of the syntax highlighting, (set a level of transparency of the text).