Auto Complete

The command Auto Complete is an automatic data entry mechanism: Enter the first letter or letters of an expression, such as the name of a Method, and press Ctrl+Spacebar or Shift+Ctrl+Spacebar. Plant Simulation then automatically completes the name for you and also adds the corresponding characters—period, left parenthesis, assignment operator (:=) and right parenthesis to your source code.

Once Plant Simulation reaches a point at which the name is not unique any more, it opens a window in which you can select a method or an attribute. Move the cursor over the name of the method or attribute of your choice and double-click to select it or use the up and down keys on your keyboard to move within the list and the Enter key to select the entry of your choice.

You can filter the attributes and methods, which the object provides, according to the same criteria as in the dialog Show Attributes and Methods. To make the window larger, drag the mouse over one of the sides or a corner of the window and drag the mouse.

To do this

Click

Show Attributes/Methods for Standard Users

Show Attributes/Methods for Expert Users

Show General Attributes/Methods

Show User Interface/Animation Attributes/Methods

Show Control Attributes/Methods

Show Simulation Attributes/Methods

Show Energy related Attributes/Methods

Show Statistics Attributes/Methods

Show Attributes

Show Read-Only Attributes. These are attributes and methods, which do not expect parameters, which do not have side effects, and which return a value.

Show Methods. Methods as a rule have parameters, have side effects, and return a value.

Show Global Functions. This encompasses global functions and constants.

Show Objects. This encompasses objects in the Frame, objects of type Variable and objects of type Method.

Show Keywords

When you insert a function or a Method with parameters into a Method, Plant Simulation now shows the status bar. The status bar shows the signature of the function/Method and thus makes entering the required parameters easier. Plant Simulation hides the status bar again when you type in the closing parenthesis or when you press the Esc key.

Related Topic

Show tooltip with completion