range_for_keyword_expand

The range_for_keyword_expand option establishes how many characters in a file are scanned for keywords when an object is created or derived, starting from the beginning of the file.

When you check out a file, the file is scanned and keywords are replaced with values. By default, the java or misc type and all subtypes have a value of -1, which means that the keywords are expanded in the entire file. If you have a large file with keywords defined in all parts of the file, the scanning process can slow down the create or check-out operation. To change the default setting, run the typedef command to individually set the value for a specific type.

Or you can change the setting in the system .ini file. In the system .ini file, the default number is 20480, which is the maximum number of characters that are scanned for keywords. If your file is set up for 80 characters per line, the default setting permits at least the first 256 lines per file. The default setting works well if you have all of your keywords in the header area. If the keywords are spread throughout your file, reset this preference so that the keyword expansion can be done throughout the file.

The setting in the system .ini file has an effect only on types that do not have a range_for_keyword_expand set.


Feedback