PreviousNext

Customize the text editor

    1. On the Edit menu, click Preferences.
    2. Click the Editor tab.
    3. Click the General tab.
    4. Set any of the following options.
      Item
      Description

      Display dialog when search wraps

      A dialog box appears when a search returns to the beginning of the source file.

      ESC key closes output window

      Pressing the ESC key closes the output window.

    5. Click the Auto-complete tab.
    6. Set any of the following options:
      Option
      Description

      Automatically complete field and method names

      The BlackBerry® IDE finds and uses existing static and non-static members in your source code for the class name, field, or local variable that you have typed. This feature is also known as auto-completion.

      Search superclass when completing field and method names

      The BlackBerry IDE searches a wider range of classes during auto-completion.

      Include class names in word completion list

      The BlackBerry IDE completes class names automatically.

      Include java.lang.Object methods when completing field and method names

      The BlackBerry IDE searches java.lang.Object methods during auto-completion.

    7. Click the Tabs tab.
    8. Set any of the following options:
      Option
      Description

      Expand tab to this many spaces

      Specify the size of a tab.

      Tab key indents this amount

      Specify tab behavior in the text edit pane.

    9. To create typing shortcuts, click Macros.
    10. To create a template for new source files, click New Java file template.
    11. To generate API documentation for your source code, click Javadoc.

Related topic


   BlackBerry