From c41cae33cbbcd751db6b5fafceb96dea522dd4fb Mon Sep 17 00:00:00 2001 From: L. Frank Turovich Date: Thu, 13 May 2010 02:21:52 +0000 Subject: Bug 310371 - Revised GDB, GDB MI, Indexer pref panels, and New CPP FIle, New File Name, and Editor pages --- .../images/debug_gdb_pref.png | Bin 12702 -> 30977 bytes .../images/indexer_preference_page.PNG | Bin 30051 -> 61170 bytes .../images/project_new_cppfile.png | Bin 5848 -> 13506 bytes .../images/project_new_file.png | Bin 14757 -> 13859 bytes .../images/project_new_file_name.png | Bin 9235 -> 24472 bytes .../images/view_editor.png | Bin 6498 -> 13506 bytes .../reference/cdt_u_console_pref.htm | 8 +- .../reference/cdt_u_dsfgdb.htm | 8 +- .../reference/cdt_u_editor_view.htm | 10 +- .../reference/cdt_u_gdb_mi.htm | 49 ++++++--- .../reference/cdt_u_indexer_preference.html | 120 ++++++++++++--------- .../tasks/cdt_t_new_cpp.htm | 12 +-- 12 files changed, 124 insertions(+), 83 deletions(-) (limited to 'doc') diff --git a/doc/org.eclipse.cdt.doc.user/images/debug_gdb_pref.png b/doc/org.eclipse.cdt.doc.user/images/debug_gdb_pref.png index eb6f6667099..c781cb25f27 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/debug_gdb_pref.png and b/doc/org.eclipse.cdt.doc.user/images/debug_gdb_pref.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/indexer_preference_page.PNG b/doc/org.eclipse.cdt.doc.user/images/indexer_preference_page.PNG index 8c7df665439..19b9b3e660b 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/indexer_preference_page.PNG and b/doc/org.eclipse.cdt.doc.user/images/indexer_preference_page.PNG differ diff --git a/doc/org.eclipse.cdt.doc.user/images/project_new_cppfile.png b/doc/org.eclipse.cdt.doc.user/images/project_new_cppfile.png index eabbd40134e..b267152b34b 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/project_new_cppfile.png and b/doc/org.eclipse.cdt.doc.user/images/project_new_cppfile.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/project_new_file.png b/doc/org.eclipse.cdt.doc.user/images/project_new_file.png index 27b36353173..300f29fbf8e 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/project_new_file.png and b/doc/org.eclipse.cdt.doc.user/images/project_new_file.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/project_new_file_name.png b/doc/org.eclipse.cdt.doc.user/images/project_new_file_name.png index 5f5807f2d8c..5fb029e387d 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/project_new_file_name.png and b/doc/org.eclipse.cdt.doc.user/images/project_new_file_name.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/view_editor.png b/doc/org.eclipse.cdt.doc.user/images/view_editor.png index cc15e46de1d..9374ea8ffba 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/view_editor.png and b/doc/org.eclipse.cdt.doc.user/images/view_editor.png differ diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_console_pref.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_console_pref.htm index 716b2b37dac..b85cb27d039 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_console_pref.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_console_pref.htm @@ -24,12 +24,8 @@ - - Option - - - Description - + Option + Description diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dsfgdb.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dsfgdb.htm index 34cf61cc82b..2b7db426302 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dsfgdb.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dsfgdb.htm @@ -12,10 +12,8 @@

GDB Debugging Preferences

-

Use the GDB preferences panel to control how the CDT debugger behaves when debugging with GDB, +

Use the GDB preferences panel to control how the CDT debugger behaves when debugging with GDB, specifically when using a GDB (DSF) launcher. -The page is accessible at: -Window > Preferences > C/C++ > Debug > GDB.

GDB preferences panel

@@ -45,6 +43,10 @@ The page is accessible at: debug hover modes +

Related reference
+GDB MI Debug preferences

+
+

IBM Copyright Statement

diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_editor_view.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_editor_view.htm index d309ae1379b..acf6a27dc00 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_editor_view.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_editor_view.htm @@ -10,9 +10,9 @@

Editor view

-

The C/C++ editor provides specialized features for editing C/C++ related files.

+

The C/C++ editor provides specialized features for editing C/C++ related files.

C/C++ Editor

-

Associated with the editor is a C/C++-specific Outline view, +

Associated with the editor is a C/C++-specific Outline view, which shows the structure of the active C, C++ or makefile. It is updated as you edit these files.

The editor includes the following features:

@@ -27,12 +27,10 @@ (single or double-click depending on the user preferences).

The C/C++ editor does not contain a toolbar itself, but relies on the use of the main -toolbar, edit menu, search menu +toolbar, Edit menu, Search menu and key binding actions.

- -

- +

IBM Copyright Statement

diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_gdb_mi.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_gdb_mi.htm index b128a62ecb6..42c1b9cb892 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_gdb_mi.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_gdb_mi.htm @@ -6,25 +6,50 @@ Debug GDB MI page, Preferences window + +

Debug GDB MI page, Preferences window

-

You can manipulate certain GDB timeout settings Window > Preferences > C/C++ > Debug > GDB MI.

- -Debug GDB MI Preferences -
-
Debugger timeout (ms)
-
Sets the timeout value for the debugger.
-
Launch timeout (ms)
-
Sets the Launch timeout for a debug session.
-
Automatically refresh modules
-
Controls the updates of the Modules view
-
+

Use the GDB MI preference panel to manipulate certain GDB timeout settings.

+

Debug GDB MI Preferences

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GDB MI Preference Options
OptionDescription
Debugger timeout (ms)Sets the timeout value for the debugger. Default setting is 10000 milliseconds.
Launch timeout (ms)Sets the Launch timeout for a debug session. Default setting is 30000 milliseconds.
Automatically refresh modulesControls the updates of the Modules view.
Support distinct code and data memory spacesToggle to swap between showing separate code and data memory spaced or not.
+

Related reference
+GDB Debugging preferences

+

IBM Copyright Statement

- \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_indexer_preference.html b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_indexer_preference.html index 6dfc1735708..455634d8266 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_indexer_preference.html +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_indexer_preference.html @@ -5,73 +5,92 @@ Indexer preferences (C/C++) +

Indexer preferences (C/C++)

-

Use the Indexer preference page to select the indexer used by default for new projects and configure its behavior.

-

Indexer Preferences Window
+

Use the Indexer preference panel to select the indexer used by default for new projects and configure its behavior.

+

Indexer Preferences Window

- - +
- Indexer Options -
+ - - - + + + + + + + - - - + + + + - - - + + + - - - + + + + + + + + - - - + + + + + + + + + + + - - - + + + + + + + + - - - + + + - - - + + + + - - - + + + - - - + + + + - - - + + + - - - - - - - + + +
Indexer Options
Select Indexer Select the indexer to use by default for all new projects.
OptionDescription
Select Indexer Select the indexer to use by default for all new projects.
Index all files (files neither built nor included, also) Activate this checkbox to index all files
Index source files not included in the buildActivate this checkbox to index all source files used by the project.
Skip all references (Call Hierarchy and Search will not work) Activate this checkbox to not index references to save space and gain performance. This prevents some portions of CDT from working, like Call Hierarchy and search for references.
Index unused headersActivate this checkbox to index unused header files.
Skip type references (Search for type references will not work) Activate this checkbox to not index type references. This prevents some portions of CDT from working, like Search for type references.
Allow heuristic resolution of includes Activate this checkbox to allow the indexer to skip indexing duplicate include files.
Skip files larger thanEnter the maximum file size to skip when indexing.
Skip macro references (Search for macro references will not work) Activate this checkbox to not index macro references. This prevents some portions of CDT from working, like Search for macro references.
Skip all references (Call Hierarchy and Search will not work) Activate this checkbox to not index references to save space and gain performance. This prevents some portions of CDT from working, like Call Hierarchy and search for references.
Skip implicit references (e.g. overloaded operators) Activate this checkbox to not index implicit references.
Skip type and macro references (Search for these references will not work) Activate this checkbox to not index macro or type references. This prevents some portions of CDT from working, like Search.
Files to index up-front Type a comma separated list of files that should always be indexed immediately.
Files to index up-front Type a comma separated list of files that should always be indexed immediately.
Automatically update the index Activate this checkbox to have the index automatically update as it requires.
Automatically update the index Activate this checkbox to have the index automatically update as it requires.
Update index immediately after every file change Activate this checkbox to force an index update whenever a file is saved.
Update index immediately after every file change Activate this checkbox to force an index update whenever a file is saved.
Use active build configuration Activate to always use the active build configuration indexer settings to build the index.
Use active build configuration Activate this checkbox to always use the active build configuration indexer settings to build the index.
Use the build configuration specified in the project's indexer settings Activate to always use the project's indexer settings to build the index.
Use the build configuration specified in the project's indexer settings Activate this checkbox to always use the project's indexer settings to build the index.
Index database cache: Limit relative to the maximum heap size Specify the relative size limit the index can reach based on the maximum heap size.
Limit relative to the maximum heap size Specify the relative size limit the index can reach based on the maximum heap size.
Index database cache: Absolute limit Specify the maximum size the index database cache is limited to.
Index database cache: Absolute limit Specify the maximum size the index database cache is limited to.
Header file cache: Absolute limit Specify the maximum size the header file cache is limited to.
Header file cache: Absolute limit Specify the maximum size the header file cache is limited to.
@@ -91,9 +110,10 @@ editor

Search action
Search view

-

Nokia Copyright Statement
- Copyright
+


+

+ Copyright IBM statement
+ Nokia Copyright Statement

diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_cpp.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_cpp.htm index 2111ee4984f..bc8e2aee630 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_cpp.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_cpp.htm @@ -17,15 +17,15 @@ function changeSize(theImage,wd,ht) {

Creating a C/C++ file

Files are edited in the C/C++ editor that is, by default, located in -the editor area to the right of the C/C++ Projects view.

+the editor area to the right of the Project Explorer or C/C++ Projects views.

The marker bar on the left margin of the C/C++ editor, displays icons for errors, warnings, bookmarks, breakpoints and tasks.

For more information on the marker bar, see Workbench User Guide > Reference > User interface information > Views and editors > Editor area.

-

To create a C++ file:

+

To create a C++ file:

    -
  1. In the C++ Projects view, right-click a project, and +
  2. In the Project Explorer or C++ Projects view, right-click a project, and select New > File.
    New > File in Projects View
  3. @@ -36,9 +36,8 @@ appropriate extension.
  4. Click Finish.
    New File Wizard
  5. The file will open in the C/C++ editor.

    -
  6. Enter your code in the editor view..
    - Editor view with a sample code
  7. +
  8. Enter your code in the editor view.
    + Editor view with a sample code
  9. Type CTRL+S to save the file.

Related concepts

width="143" height="21">
Project properties

+

IBM Copyright Statement

-- cgit v1.2.3