| |
|
Overview
|
|
|
Visual Xbase++
2.0 comes with a fully integrated Source Code Editor. The editor
supports syntax highlighting. This automatically recognizes elements
of the Xbase++ syntax and displays those using configurable
visual attributes. Code
completion allows you to use abbreviations for user-defined keywords
or even for entire code sections. This is just one of many new features
that will surely enhance your development process. Replacing
abbreviations with their full-text equivalents, the editor will
help you save time, as long typing and formatting of complicated
source code is shorten a lot.
The editing capabilities
of the Source Code Editor are outstanding. Features, such as user-defined
bookmarks, block marking, configurable key-mapping with default
support for Visual Studio, Brief and Epsilon, are provided also.
|
|
| |
|
|
|
|
|
| IntelliCode |
|
|
The Source Code
Editor features intelligent code completion. This characteristic
may significantly simplify various programming tasks. The code completion
mechanism can complete or replace any tokens with user-defined templates.
A pre-defined
set of templates for typical coding patterns, such as Function/Procedure
bodies or Begin/End Sequence bodies with error code block restauration,
are available right out of the box. Thus, helping to prevent typical
coding errors and may also reduce the time-to-market period of your
projects. To
illustrate the code completion feature, just imagine the following:
You type the first letters of a function name such as "DbU",
code completions such as DbUseArea,
DbUnlockAll() etc. will be displayed automatically. Yet,
the Source-Code-Editor is even more intelligent. It also detects,
th variables which were declared in the current scope, thus completing
those as well. Well,
you no longer will need to browse sections of your source code just
to find out the proper spelling of a certain variable, function
or method name!
|
|
 |
|
| |
|
| |
|
|
IntelliHelp
|
|
|
Intelligent analysis
of the curser and its current position, allows to provide context-specific
information even when you type! By providing a powerful, extensible
language assistant, IntelliHelp will improve your coding productivity
even further. This built-in assistant features automatic parameter
profile lookup for functions and methods. All this comes of course
with full polymorphy support as well as lookup of #define values
used in the current context.
The IntelliHelp
system is fully customizable and learns automatically each time
you write new code. The system can also be extended via a loading mechanism
for additional type libraries. This enables IntelliHelp to recognize
and provide context-sensitive help even for elements in 3rd party products
or components.
|
|
| |
|
|
Automatic parameter profile lookup:
|
|
|
|
| |
|
|
Automatic define/type lookup for an IVar/Property:
|
|
|
|
| |
|
|
Method profile lookup, showing multiple implementations and/or overloading:
|
|
|
|
| |
|
| Embedded
Documentation |
|
| The
Source Code Editor of Visual Xbase++ introduces XMLDOC.
This feature facilitates nearly seamlessly the integration of your
source code documentatione using XML type comments. Please glean the
following sample demonstrating how to add a complete function description
to your source. |
|
| |
|
01: /// <summary>
02: /// <para>
03: /// Calculates a centered window position on
04: /// screen from size and reference size
05: /// </para>
06: /// <para>
07: /// <bold>Example:</bold>
08: /// </para>
09: /// <para>
10: /// aRefsize := AppDesktop():currentSize()
11: /// </para>
12: /// <para>
13: /// aSize := { 640, 400 }
14: /// </para>
15: /// <para>
16: /// aPos := CenterPos( aSize, aRefSize )
17: /// </para>
18: /// </summary>
19: /// <returns>
20: /// aPos { nX, nY }
21: /// </returns>
22: ///
23: FUNCTION CenterPos( aSize, aRefSize )
24: RETURN { Int( (aRefSize[1] - aSize[1]) / 2 ) ;
25: , Int( (aRefSize[2] - aSize[2]) / 2 ) }
|
|
| |
|
| Based
on the XML comments added to the source code, the Source Code Editor
of Visual Xbase++ can automatically display additional
information for all of your functions. Thereby the amount of information
shown is, of course, fully customizable! You may even disable the
whole feature, if you want! |
|
 |
|
|
|