" type="text/css">
Editing C and C++ Source Files
Editing C and C++ Source Files
The IDE's built-in Source Editor enables you to view, create, and
edit yourC and C++ source code. You can open the Source Editor window by
double-clicking an editable element in the Projects window or by
choosing File > New to create a new file.
The IDE has many features to simplify coding of C and C++ files
such as:
- Code completion.
A code completion box displays possible
ways of completing the expression you are typing.
- Code templates.
You can enter common code snippets by
typing abbreviations for those snippets. You can use built-in
code templates and also create your
own code templates.
-
Code Folding. Enables you to hide sections of code, such as
declaration blocks and method bodies.
- Pair Completion, Smart
Enter, and Smart Semicolons. When you type a
quotation mark, bracket, brace, or parenthesis, the Source Editor
automatically inserts the closing character. The matching is
"smart", so the closing characters are not duplicated if you type
them yourself.
- Class View. Lets you
view all of the classes in your project and their members and fields.
- Hyperlinks. Let you jump
from the invocation of a class, method, variable, or constant to its
declaration.
Legal Notices