Code Completion

From The Oxygene Language Wiki
Revision as of 07:18, 20 May 2010 by Mike O (Talk | contribs)

Jump to: navigation, search

This is a IDE topic about Oxygene
 

Code Editor | Visual Designers | Build Toolchain | Debugging | Project Management | Templates



Code Completion (CC) is a code editor facility that completes statements and code fragments using popups and auto-completion. Code completion uses the code before the cursor to find out what to complete the current statement to, and usually allows browsing the possibility and picking the right one from a popup list. Delphi Prism includes a code completion provider for Visual Studio for .NET for the Delphi Prism language.

Depending on your editor settings, the Code Completion drop-down will automatically show as you type code, for example when you start typing an identifier, or reach certain code contexts where a well-defined set of options is available (for example, typing the dot after "MyString."), Code Completion will drop down to show the members of the string class. You can also manually invoke CC at any time, by pressing Ctrl+Shift+C (csC) keyboard shortcut, or clicking the CodeCompletionToolAero.png button.


Code Completion in Action

CodeCompletionAero.png

Statement completion can complete an identifier or allow you to pick from all possibilities. Delphi Prism statement completion generates all possible statement types from the IDE.


See Also

Personal tools
Namespaces

Variants
Actions
Navigation
Getting Started
Sections
If you know
More
Toolbox