Skip to main content

This article describes the method for expanding copybooks in the CodeWatch source editor.

Problem:

By default, the CodeWatch editor collapses copybooks contained is a source file.  However, sometimes it is useful to view the contents of the copybooks expanded, in-line, in the source.

Resolution:

You can expand/collapse copybooks in the CodeWatch source editor by toggling the "COPY Files" settings in the "View" menu.

Alternatively, you can instruct CodeWatch to expand copybooks, by default, by adding the following option to your CodeWatch configuration file ( %USERPROFILE%\\AppData\\Roaming\\Liant\\CodeWatch\\RMCW.ini )

[Editor]
AlwaysExpand=Y