Enabling or Disabling Auto Completion in the Script Editors

InstallShield 2018

InstallShield lets you specify whether you want to be able to use automatic completion when you are typing in the script editor in various views (for example, the InstallScript view and the SQL Scripts view). If auto completion is enabled, InstallShield displays a pop-up list of alphabetically ordered functions, keywords, constants, and string identifiers that begin with the letters that you are typing in the script editor. Instead of manually typing the entire word, you can select it in the pop-up list, and InstallShield adds it to your script.

Auto completion can increase your efficiency because it can reduce the time that you spend typing code. It can also help you avoid typographical errors in your code.

Tip • Note that the script editor properties are global per-user settings that affect all InstallShield script editors. For example, the same auto completion settings are used for all script editors. If you change the settings in the SQL Scripts view, the settings are also changed in the InstallScript view the next time that the InstallScript is reloaded in that view.

To specify whether auto completion should be available in the script editors:

1. Right-click in the script editor pane and click Properties. The Script Editor Properties dialog box opens.
2. In the Auto completion setting, select the appropriate option:
YesInstallShield displays a pop-up list of available functions, keywords, constants, and string identifiers that begin with the letters that you are typing code in the script editors. This is the default option.
NoInstallShield does not display a pop-up list when you are typing code in the script editors.
3. In the Include local variables setting, select the appropriate option:
YesInstallShield adds local variables that are defined in InstallScript to the pop-up list of available functions and other script words that begin with the letters that you are typing code in the InstallScript editor. This is the default option.
NoInstallShield does not include local variables in the pop-up list when you are typing code in the InstallScript editor.

Note that if you select No, the Functions, Properties, and Methods folders in the center pane of the InstallScript view do not list any functions, properties, or methods from your script files.

If Yes is selected for this setting and you notice performance issues when you are typing code in the InstallScript view, you might want to change this setting to No.

Note • The Include local variables setting applies to the script editor in the InstallScript view; it does not have any effect on the script editors in other views, such as the SQL Scripts view. This setting is ignored if you select No for the Auto completion setting.

4. Click OK. The Script Editor Properties dialog box closes.

InstallShield enables or disables auto completion in the InstallScript editor as needed.

For details about how auto completion works, see Using Auto Completion when Writing Code in the Script Editors.

See Also