Code Completion
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
button.
Code Completion in Action
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.
