Code completion means the editor will try to guess the text as it is being typed. It does this by checking what text is typed, and as soon as the typed text can be used to identify a keyword in a list of keywords, the keyword will be presented in a small colored box under the typed text. Pressing the Enter key will complete the word in the text.
There is no code completion yet for filling in function arguments, or choosing object methods as in e.g. the Lazarus or DelphiIDEs.
Code completion can be customized in the Code completion dialog, reachable through the menu option ”Options—Preferences—Codecomple”. The list of keywords that can be completed can be maintained here. The code completion dialog is shown in figure (6.5).
The dialog shows in alphabetical order the currently defined keywords that are available for completion. The following buttons are available:
All keywords are saved and are available the next time the IDE is started. Duplicate names are not allowed. If an attempt is made to add a duplicate name to the list, an error will follow.