Micro Focus has the following recommendations for configuring your projects in Eclipse for a large code base:
Ensure only the folders which are required are enabled on the Build Path pages in the project's properties. This reduces the time it takes Eclipse to search for files.
Set Compiler directives at project level rather than at file level where possible. This is because file-level settings override any settings specified at project level settings, and it can be difficult to track, maintain and manage them, especially with a larger code base.
The project's and file's IDE property pages in Visual COBOL provide a wide range of COBOL settings.
The IDE settings are easy to edit and easy to port. Once you use them to configure your projects, they apply both inside Eclipse and when you build the projects outside of Eclipse.
Micro Focus recommends that to set Compiler directives you use the IDE property pages in preference to any other method. Specifically, you should avoid the following:
You might end up setting the same directive using both the GUI controls and Additional Directives which could lead to errors.
For example, you could manually type CICSECM in Additional Directives at the project level. At the same time, it could also be set to None in a file's GUI controls. As a result, there's an ambiguity as to which of the settings actually applies.
You should only specify a directive in Additional Directives when no corresponding IDE setting exists.
Avoid setting any $SET statements directly in the source files. Instead, use the project's properties pages inside the IDE to set the corresponding Compiler directive. The reasons for this are:
Micro Focus recommends that you avoid using any external files (such as .dir) to store any required Compiler directives. The reasons for this are: