Context-Sensitive Help
- Displays a list of valid elements at the cursor's current position
- Control + Spacebar at the beginning of a line
- List methods for a class
- Period after a valid class name
- Lists expected parameters
- Open parenthesis after a validclass, function, or method name
- Properties assigned to a locally declared object are also included in the list of suggestions
- Locally declared objects are only available to the current script.
While editing a script, Context-Sensitive Help can be invoked by using the following keystrokes at the cursor location:
- Ctrl + Space (both Mac/Windows)
- . (a period)
Suggestions are context-sensitive relative to the cursor's current position and are filtered based on API type. For example, when working on a server-side script, only suggestions from server-side APIs display. When working on a client-side script, only suggestions from client-side APIs display.
Use any one of these strategies to insert a suggested element into your script.
- Highlight an element in the list using the arrow keys on your keyboard, then press the <Tab> or <Enter> key.
- Continue typing until the element becomes highlighted, then press the <Tab> or <Enter> key.
- Double-click an element in the list.
Important
- If the keyboard language is different from the instance language, you may experience unexpected behavior.
- Context-Sensitive Help is disabled for XML fields and UI Actions.
- Suggestions provided by Context-Sensitive Help are part of the Scoped Application API.
- If an element does not appear in the list of suggestions, simply continue typing the element's name. Context-Sensitive Help turns off when the text being entered no longer matches any suggestions in the list