Managing Preprocessor Blocks

See Also

Preprocessor code blocks enable you to manage preprocessor directives as you insert them into your code. These code blocks are marked visually in the Source Editor and are included (or excluded) when you build the JAR for a specific project configuration or ability. You can use these code blocks to create, manage and track code that is specific to one or more project configurations or abilities.

In the IDE, you can do the following:

To add a preprocessor block to your source code:

  1. Select and a line or block of code and right-click on it
    Then choose from the following:
  2. Use the Editor to enter code within the code blocks.

To change a preprocessor block's association:

  1. Click to the right of a preprocessor directive (signified by the characters //#).
  2. Type Ctrl-Space and choose a configuration or ability from the code completion drop-down menu.
See Also
About Project Configurations
About Abilities
About Preprocessing
Working with Project Configurations
About Preprocessor Directives

Legal Notices