Configuring Code Insight

Before you can enable Code Insight for a PowerBuilder application, you need to configure the PBT file of the desired application as the default PBT file. You can also specify the PowerServer feature sets and the feature types for which feature list will be displayed.

Step 1: Click on the icon of Code Insight, and the status-area-icon menu pops up with three items: Enable (or Disable), Config, and Quit, as shown in the following figure.

The status-area-icon menu

Step 2: Click Config to open the Code Insight Configuration window, as shown in the following figure.

Code Insight Configuration window - PBT Files tab

Code Insight Configuration window - System tab

The Code Insight Configuration window contains two tab pages where you can manage the PBT files and specify what displays in the list.

Select this tab

To do this

Detailed Steps

PBT File tab page

Add the PBT files.

  1. Click Add.

  2. Search and select the PBT file in the common dialog box.

  3. Click Open in the common dialog box.

  4. Click OK.

Delete the PBT files.

  1. Select the PBT file you want to delete.

  2. Click Delete to delete the selected PBT file.

  3. Click OK.

NOTE: The default PBT file cannot be deleted.

Set the default PBT file.

  1. Select the check box in front of a PBT file.

  2. Click OK.

NOTE: 1) only one PBT file can be set to the default PBT.

2) Code Insight can only be effective to the default PBT.

System tab page

Specify what to display in the list.

  1. In the Auto List group box, opt to automatically display functions, events, properties, controls and/or variables in the list.

  2. In the Application Type group box, opt to display only the unsupported features and/or the supported features for Web applications or/and Mobile applications.

  3. In the Feature Type group box, opt to display only the unsupported features and/or the supported features in the list.

  4. Click OK.