RAD Studio (Common)
|
Code Completion is a Code Insight feature available in the Code Editor. Code Completion displays a resizable “hint” window that lists valid elements that you can select to add to your code. You can control the sorting of items in the Code Completion hint window by right-clicking the box and choosing Sort by Name or Sort by Scope.
Different items appear in different colors in the list. For example, by default, procedures are teal, functions are dark blue, and abstract methods are shown in red.
Automatic code completion is on by default. Options for enabling and disabling Code Completion are located on the Code Insight page of the Tools->Options->Editor Options dialog box.
Following are ways to use Code Completion in the IDE:
When the Code Completion list is displayed, you can hold down Ctrl and click any identifier in the list to browse to its declaration.
Also, if you hover the mouse pointer over the identifier in the Code Editor, a hint window tells where the identifier is declared. You can press Ctrl, point to the identifier in the code (it changes to blue underline, by default, and the insertion point changes to a hand pointing), and then click to move to its declaration.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|