When writing code, you can automatically get a list displayed with classes, functions, methods or properties relevant to the context you are in, covering both Forsta Plus-specific and general JScript.NET constructions. To display the list:
- Press CTRL+space to display the list.
- Type more characters to reduce the number of items in the list and jump directly to a member in the list. Use the arrow buttons to move up and down in the list.
- Press Enter to select an item.
- After the name of a function or method, type an open parenthesis (as you normally would) to open the Parameters list.
- Press ESC at any time to close the list.
If you have already started typing, the list will be filtered according to the typed string. After the name of a class or variable, the list will appear automatically when you type period (.).
On functions and methods, a parameters list will automatically pop up to give you information about the number, names and types of parameters required by a function, template, or attribute . The parameter in bold indicates the next parameter that is required as you type the function. Where there are different versions of the function with different parameter lists, you can select which parameter list you wish to view.
Figure 1 - Selecting a parameter list to view
To view parameter information:
The declaration for the function will pop up under the insertion point. The first parameter in the list appears in bold. To switch among functions, use the UP or DOWN arrow keys. As you type the function parameters, the bold changes to reflect the next parameter that you need to enter.
Use Tab to indent lines of code. Lines of code within curly brackets, { and }, will automatically be indented. To indent several lines of code in one operation, mark all the code you want to indent and press Tab. To un-indent, press Shift+Tab.