BMS Preferences

To access the Eclipse preferences for working with BMS source files:

  1. Click Window > Preferences > Micro Focus > BMS.
  2. Specify any required settings on the following BMS preferences pages:
Editor
Specify the following preferences in the Parser section:
Trigger delay (miliseconds)
Parsing is triggered when there is a pause in editing code; by default this is 500 milliseconds. By entering a larger value in the Trigger delay field, you can make sure your code is parsed less frequently, and improve performance when developing projects with large numbers of source files.
Parse error limit
Specify the maximum number of syntax checking errors in the BMS source before the background parser stops checking the code. This is 50 by default.
Specify the following preferences in the Editor section:
Tab width
Specify the number of spaces for a tab. This is four by default.
Show ruler
Check this to enable the horizontal rules at the top of the editor.
Smart edit mode
Check this to enable Smart Edit Mode in the BMS text editor. With Smart Edit Mode:
  • Typing in the left margin and in the middle code area does not move the text in the right hand column.
  • Pressing Tab moves the cursor to the next margin and backfills the line with spaces.
  • When typing in the attribute code area, if you end the line with a comma and press Enter, this adds a continuation marker (X) in column 72 and the cursor moves down a line to the beginning of the attribute area.

    In the same scenario, if you do not end the line with a comma and you press Enter, this creates a new line and moves the cursor to the beginning of it.

Pressing Home/End moves caret to the beginning or end of the area
Check this to enable Smart Home/End caret support in the BMS text editor. With Smart Home/End caret support enabled:
  • Pressing Home positions the cursor at the start of the current section in the code area, and then at the start of the preceding section - at columns 8, 16, 72, and 73.
  • Pressing End positions the cursor at the end of the code in the current area, and then at the start of the next area.
Smart tab mode
Check this to enable Smart Tab mode in the BMS text editor. With Smart Tab enabled, pressing Tab in the editor moves the cursor at the start of the main sections in the code area - column 9 for the start of macro names, column 16 for the start of the macro attributes, and column 72, at the end of the code area.
Task Tags
Click Add to add new tags for tasks to use inside the BMS source code.
Preview
Show indicators for field attributes
Check this if you want to see symbols indicating the type of field in the BMS Preview view. You can change the preview colors for the field attributes.