RAD Studio (Common)
ContentsIndex
PreviousUpNext
Code Insight

ToolsOptionsEditor OptionsCode Insight 

Use this page to configure how Code Insight works while editing code in the Code Editor.

Note: HTML supports only the Code Completion
, Error Insight, and Code Template Completion features.

Item 
Description 
 
 
Source file type 
Displays a list of programming languages for which you can specify Code Insight features. You can specify different Code Insight options for each language.  
 
 
Use Editor Font 
Use the same font as the Code Editor instead of the standard IDE font.  
 
 
Code Completion 
Displays a list of properties, methods and events when you enter a class name followed by a period in the Code Editor. You can then select an item and press ENTER to add it to your code.
If this option is not checked, you can still invoke code completion by pressing CTRL+SPACE. The default value is On (checked).  
 
 
Auto Invoke 
Brings up the code completion list when type the period or dot (.).  
 
 
Auto Parenthesis 
Automatically adds parentheses to function calls when you invoke code completion.  
 
 
History 
Remembers what you have entered or selected, and places that as the first entry in the code completion list.  
 
 
Show reserved words 
Shows language keywords (for Pascal only).  
 
 
 
 
 
 
Code Parameters 
Displays the arguments of a method call as you enter them into your code. If this option is not checked, you can still invoke code parameters by pressing Shift+Ctrl+Space. The default value is On (checked).  
 
 
Tooltip Expression Evaluation 
Displays the current value of a variable when you position the cursor over it. This feature is available when program execution is paused during a debugging session.  
 
 
Tooltip Symbol Insight 
Displays declaration information in a tooltip window for any identifier by passing the cursor over it in the Code Editor.  
 
 
Tooltip Help Insight 
Displays a short description in a tooltip window when passing the cursor over a symbol in the Code Editor. The hint window contains links to additional information where available.  
 
 
Block Completion 
Enables the editor to automatically insert a block-closing symbol when you begin a block and press Enter. The default value is On (checked).
The drop-down menu sets the behavior of block completion when you surround existing statements with block symbols, as follows:  
 
 
With new line 
Positions the cursor inside the block you just created.  
Without new line 
Positions the cursor after the block you just created.  
New blocks only 
Invokes block completion only if you start a new block.  
 
 
 
 
 
 
Error Insight 
Underlines invalid code and HTML in red. Positioning the cursor over invalid text displays a tooltip window containing the probable cause of the error. The default value is On (checked).  
 
 
Code Template Completion 
Automatically adds a code template when you type a token that starts a template and press TAB. The default value is On (checked).  
 
 
Auto Complete 
Invokes code template completion when you press SPACE after you begin an existing template. When this option is disabled, you must press TAB to invoke template completion after you type in the template name. The default value is On (checked).  
 
 
Hints 
Enables template hints. Template hints appear when you add a template in the Code Editor and tab between the preset cursor positions in the template. The default value is Off (unchecked).  
 
 
 
 
 
 
Delay 
Sets the duration of the pause before a Code Insight window displays. Select a value anywhere on a scale between None and High.  
 
 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!