The editor area is a section of the workbench window reserved for editors. Views can be anywhere on the workbench except in the editor area.

You use editors to browse or change the content of your files. Each editor in the IDE is designed for working with a specific type of file. The editor that you'll likely use most often is the C/C++ editor. This is the editor where you write and modify your code. As you work in the editor, the IDE dynamically updates many of the other views (even if you haven't saved your file).

The IDE lets you rearrange views and editors so they're beside each other (tiled) or stacked on top of each other (tabbed).

Using alternative editors

You can use a text editor other than the one included with the IDE; however, you will lose the integration of the various views and perspectives. For example, within the text editor of the IDE, you can:

For more information about the features of the text editor included with the IDE, see Concepts > Editors and Reference > Preferences > Text Editors in the Workbench User's Guide.

To use an alternative editor, we recommend that you:

  1. Edit your files outside of the IDE.
  2. Ensure that you save your files in the correct workspace location. For example, on Windows configurations, you might use the following location: C:\ide-4.7-workspace\project_name
  3. Refresh the resources from within the IDE (see the next subsection).

Refreshing the resources

To refresh the resources (i.e., workspace files and folders) displayed:

Disabling automatic syntax annotation highlighting

You can disable the default setting that automatically performs syntax annotation highlighting in the editor. To do this:

  1. In the editor, hover the mouse over the yellow wavy line until the popup appears.

    Annotated highlighting in the editor

  2. Press F2 to have the focus for the popup.
  3. In the bottom left corner of the popup window, click the Configure Annotation Preferences button to open the Preferences window.

    In the Preferences window, for Annotations, the C/C++ Indexer Markers option will be preselected for you.

  4. Deselect the Text as button.
  5. Click OK.