The editor area can be used to open text editors associated with different types of files.
When you double-click a source file in the Project Explorer view, the
associated editor opens the selected file. The following elements indicate modifications that
took place in the file:
- Tabs in the editor area indicate the names of resources that are currently open for
editing. An asterisk (*) indicates that an editor has unsaved changes.
- The Quick Diff feature displays color-coded indication for additions, deletions, or
changes made to the contents of a file.
- The marker bar displays:
- Breakpoints (Auto, Hardware, Software, Disabled).
- Markers (bookmarks, warnings, tasks, indexers, errors).
- Icons flag error, warning, task and bookmark markers. You can view extra information by
placing the mouse cursor over the marker.
Tips and Tricks:
- To open the list of all open editors and quickly switch between them, press
Ctrl+E.
- You can open a file in the editor area by dragging it from the Project Explorer
view and dropping it over the editor area.
- To activate single-click opening for editors, use the Open mode options on the page. In single-click mode, a single-click on a file selects and immediately
opens the file.
- Double-clicking on the marker bar sets or removes breakpoints.
- To move lines up and down in the editor, press Alt+Arrow Up and Alt+Arrow
Down.
- To activate code completion, press Ctrl+Space.
- To activate Quick Diff, right-click the marker bar and select Show Quick Diff from
the context menu.
- To configure Quick Diff to use a different color code, click on the menu and go to in the Preferences dialog box.
- When the mouse cursor is placed over a change in Quick Diff, a hover displays the original
content, which can be restored using the marker bar context menu.