Customizing AutoScript

Using automatic pop-up

You can have AutoScript pop up a list automatically whenever you start typing. To do so, check the "Automatic Popup" and "Show auto-completion list after a character is typed" boxes on the Design > Options menu > AutoScript tab page.

  • Automatic Popup -- Select if you want the code auto-completion list to pop up automatically when you begin typing. This option must be turned on for the other options on this tab to take effect.

  • Show auto-completion list after a character is typed -- Select if you want the code auto-completion list to pop up automatically after you type a character (including a dot). If you deselect this option, the code auto-completion list will pop up only when you have typed an identifier followed by a dot.

  • Show auto-completion list after a character is deleted -- Select if you want the code auto-completion list to update automatically to reflect the changes when you delete a character, ensuring that suggestions are always relevant to the current state of the code.

  • Show completion item filters -- Select if you want to show the filters (e.g., function, event, variable, snippet, class, keyword) at the bottom of the list window and the auto-completion list will filter items according to the selected types. It helps developers easier to find and select the right code element from a large list of suggestions.

Using AutoScript only with dot notation

You can also have AutoScript pop up a list automatically only when you have typed an identifier followed by a dot. To do so, check the "Automatic Popup" box but uncheck the "Show auto-completion list after a character is typed" box on the AutoScript options page.

Creating shortcut keys

You can also use a shortcut key to invoke AutoScript only when you need it. Pressing the shortcut key activates AutoScript only once. It does not turn automatic pop-up on.

To modify or create shortcut keys for using AutoScript

  1. Select Tools > Keyboard Shortcuts from the menu bar and expand the Edit menu in the Keyboard Shortcuts dialog box.

  2. Scroll down and select Activate AutoScript and type a key sequence, such as Ctrl+space.

  3. Expand the Go To menu, select Next Marker, and type a key sequence, such as Ctrl+M.

    After you click OK, the shortcuts display in the Edit menu.