diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_content_assist.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_content_assist.htm index 6327e515f11..571ff40e004 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_content_assist.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_content_assist.htm @@ -35,7 +35,7 @@ the relevance of each proposal is determined in the following order:

  • Enumerations
  • -You trigger the Code completion feature when you call Content Assist (such as when you type Ctrl+Space), but you alsow invoke it when you type +You trigger the Code completion feature when you call Content Assist (such as when you type Ctrl+Space), but you also invoke it when you type ".", "->" or "::".

    C++ example showing Code Assist popup diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm index 68066cb1617..a4d28f3ceb5 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_search.htm @@ -3,8 +3,6 @@ - - C/C++ search @@ -77,12 +75,16 @@ through the use of search delimiters, correct syntax, and wildcards.

     Field Searches for fields that are members of a class, struct, or - union.

    Searching for fields also finds enumerators. + union.  Enumeration Searches for enumerations. + +  Enumerator + Searches for enumerators. +  Namespace Searches for namespaces. @@ -105,6 +107,7 @@ is to be searched:

  • Workspace
  • Working Set
  • Selected Resources
  • +
  • Project
  • Wildcard characters

    You can use wildcard characters to further refine your search.

    diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_o_concepts.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_o_concepts.htm index eb30b4abe2f..a282f6998a0 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_o_concepts.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_o_concepts.htm @@ -27,12 +27,6 @@ complete a specific task.

    The C/C++ perspective CDT overview - - Recommended approaches for dealing with source - files and files systems that were created outside of Eclipse - How to bring - C/C++ source into Eclipse - C/C++ projects CDT projects diff --git a/doc/org.eclipse.cdt.doc.user/images/add_breakpoint.png b/doc/org.eclipse.cdt.doc.user/images/add_breakpoint.png new file mode 100644 index 00000000000..30a44c5ccfc Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/add_breakpoint.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/build_order.png b/doc/org.eclipse.cdt.doc.user/images/build_order.png new file mode 100644 index 00000000000..9d56a184204 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/build_order.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/c_element_filters.png b/doc/org.eclipse.cdt.doc.user/images/c_element_filters.png new file mode 100644 index 00000000000..04603ee2c55 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/c_element_filters.png differ diff --git a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_o_tutorial.htm b/doc/org.eclipse.cdt.doc.user/images/cdt_o_tutorial.htm similarity index 91% rename from doc/org.eclipse.cdt.doc.user/getting_started/cdt_o_tutorial.htm rename to doc/org.eclipse.cdt.doc.user/images/cdt_o_tutorial.htm index 0e3ecad36f4..8ab04d4d5f3 100644 --- a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_o_tutorial.htm +++ b/doc/org.eclipse.cdt.doc.user/images/cdt_o_tutorial.htm @@ -54,6 +54,12 @@ your project Debugging your project + + Recommended approaches for dealing with source + files and files systems that were created outside of Eclipse + How to bring + C/C++ source into Eclipse +

     

    diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_update_find-install.png b/doc/org.eclipse.cdt.doc.user/images/cdt_update_find-install.png new file mode 100644 index 00000000000..8be0f50dbd8 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_update_find-install.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_cdt_site.png b/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_cdt_site.png new file mode 100644 index 00000000000..3edbd97d2c7 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_cdt_site.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_new.png b/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_new.png new file mode 100644 index 00000000000..091840b87ca Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_new.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_new_sites.png b/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_new_sites.png new file mode 100644 index 00000000000..ee3bf6ec788 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_new_sites.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_sites.png b/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_sites.png new file mode 100644 index 00000000000..0e9bccd6e97 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_update_install_sites.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_update_jar_verification.png b/doc/org.eclipse.cdt.doc.user/images/cdt_update_jar_verification.png new file mode 100644 index 00000000000..12e9a9a1547 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_update_jar_verification.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_update_license_agreement.png b/doc/org.eclipse.cdt.doc.user/images/cdt_update_license_agreement.png new file mode 100644 index 00000000000..deeb67f0ee5 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_update_license_agreement.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_update_location.png b/doc/org.eclipse.cdt.doc.user/images/cdt_update_location.png new file mode 100644 index 00000000000..dc200e4366f Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_update_location.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_update_search_results.png b/doc/org.eclipse.cdt.doc.user/images/cdt_update_search_results.png new file mode 100644 index 00000000000..0fea9c9c6d6 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_update_search_results.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/code_templates_edit.png b/doc/org.eclipse.cdt.doc.user/images/code_templates_edit.png new file mode 100644 index 00000000000..bb3bed4b136 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/code_templates_edit.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/code_templates_new.png b/doc/org.eclipse.cdt.doc.user/images/code_templates_new.png new file mode 100644 index 00000000000..1a1f85808b9 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/code_templates_new.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/contentAssist_example.png b/doc/org.eclipse.cdt.doc.user/images/contentAssist_example.png new file mode 100644 index 00000000000..19f51cb5ab9 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/contentAssist_example.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/file_new_project.png b/doc/org.eclipse.cdt.doc.user/images/file_new_project.png new file mode 100644 index 00000000000..ebd71a8e5e2 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/file_new_project.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/install_feature_updates.png b/doc/org.eclipse.cdt.doc.user/images/install_feature_updates.png new file mode 100644 index 00000000000..071c7a794f6 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/install_feature_updates.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/new_project.png b/doc/org.eclipse.cdt.doc.user/images/new_project.png new file mode 100644 index 00000000000..d90de164478 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/new_project.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/new_project_wizard.png b/doc/org.eclipse.cdt.doc.user/images/new_project_wizard.png new file mode 100644 index 00000000000..c2373808e3f Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/new_project_wizard.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/new_project_wizard_managed.png b/doc/org.eclipse.cdt.doc.user/images/new_project_wizard_managed.png new file mode 100644 index 00000000000..4a750db3c56 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/new_project_wizard_managed.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 new file mode 100644 index 00000000000..2cf8ed153c6 Binary files /dev/null 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 new file mode 100644 index 00000000000..9e4dcab0070 Binary files /dev/null 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/project_new_makefile.png b/doc/org.eclipse.cdt.doc.user/images/project_new_makefile.png new file mode 100644 index 00000000000..d22a7099588 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/project_new_makefile.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/project_rename.png b/doc/org.eclipse.cdt.doc.user/images/project_rename.png new file mode 100644 index 00000000000..4a6b3069680 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/project_rename.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/projects_filters.png b/doc/org.eclipse.cdt.doc.user/images/projects_filters.png new file mode 100644 index 00000000000..98a0fce4c1c Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/projects_filters.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/run_arguments.png b/doc/org.eclipse.cdt.doc.user/images/run_arguments.png new file mode 100644 index 00000000000..e016903d609 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/run_arguments.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/run_common.png b/doc/org.eclipse.cdt.doc.user/images/run_common.png new file mode 100644 index 00000000000..46a67930896 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/run_common.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/run_common_folder.png b/doc/org.eclipse.cdt.doc.user/images/run_common_folder.png new file mode 100644 index 00000000000..e604139d60c Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/run_common_folder.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/run_config.png b/doc/org.eclipse.cdt.doc.user/images/run_config.png new file mode 100644 index 00000000000..d3456158f6f Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/run_config.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/run_debugger.png b/doc/org.eclipse.cdt.doc.user/images/run_debugger.png new file mode 100644 index 00000000000..c7cc471ebe5 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/run_debugger.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/run_environment.png b/doc/org.eclipse.cdt.doc.user/images/run_environment.png new file mode 100644 index 00000000000..1b2d2a58b88 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/run_environment.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/run_source.png b/doc/org.eclipse.cdt.doc.user/images/run_source.png new file mode 100644 index 00000000000..1041dbe5712 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/run_source.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/workbench_prop.png b/doc/org.eclipse.cdt.doc.user/images/workbench_prop.png new file mode 100644 index 00000000000..96812afa92c Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/workbench_prop.png differ diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_pref.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_pref.htm index 8aafe5ba936..f44be89babe 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_pref.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_c_pref.htm @@ -15,7 +15,7 @@ END INFOPOP-->

    C/C++ page, Preferences window

    The C/C++ Preference dialog box allows you to make changes to your C/C++ environment.

    -

    C/C++ Main Preferences Window

    +

    C/C++ Main Preferences Window

    Link view selection to active editor
    Select this checkbox to open an item selectedin the Projects view, in the Editor view.
    @@ -36,4 +36,4 @@ END INFOPOP--> - + \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_brkpnts_watch.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_brkpnts_watch.htm index b25c961525b..a6aabf34c87 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_brkpnts_watch.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_brkpnts_watch.htm @@ -3,8 +3,6 @@ - - Working with breakpoints and watchpoints @@ -16,34 +14,13 @@

    This section explains how to work with breakpoints and watchpoints.

    - - - - - - - - - - - - - - - - - - - - - -
    ToSee
    Add breakpointsAdding - breakpoints
    Add watchpointsAdding - watchpoints
    Remove breakpoints and watchpointsRemoving - breakpoints and watchpoints
    Enable or disable breakpoints and watchpointsDisabling and - enabling breakpoints and watchpoints
    +Add breakpoints
    +Add watchpoints
    +Remove breakpoints and watchpoints
    +Enable or disable breakpoints and watchpoints
    -IBM Copyright Statement + +

    IBM Copyright Statement

    diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_build_task.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_build_task.htm index a08dade0218..9d9e0c596c0 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_build_task.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_build_task.htm @@ -3,91 +3,31 @@ - - Building projects -

    Building projects

    This sections explains how to build your project and manage compile errors.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ToSee
    Rename a projectRenaming a - project
    Select referenced projectsSelecting - referenced projects
    Configure how the CDT handles make errors, - change the default build command and specify a make targetDefining build - settings
    Control which build errors are displayedFiltering - errors
    Select a binary parserSelecting a - binary parser
    Include paths and symbolsIncluding paths - and symbols
    For Managed Make projects, select a deployment platform for managed - make projectsSelecting a - deployment platform
    Set build orderSetting a - build order
    Build your project as requiredBuilding - manually
    Save modified resources before you buildAutosaving on a - manual build
    Add a make targetCreating a make - target
    Customize the C-Build viewCustomizing the - C-Build view
    View and manage compile errorsViewing and - managing compile errors
    + Rename a project
    + Select referenced projects
    + Configure how the CDT handles make errors, change the default build command and specify a make target
    + Control which build errors are displayed
    + Select a binary parser
    + Include paths and symbols
    + For Managed Make projects, select a deployment platform for managed make projects
    + Set build order
    + Build your project as required
    + Save modified resources before you build
    + Add a make target
    + Customize the C-Build view
    + View and manage compile errors
    + Jump to errors
    + Filter errors
    + Set reminders

    diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_con_assist.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_con_assist.htm index 023fae8b21a..f0550fa83e8 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_con_assist.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_con_assist.htm @@ -3,8 +3,6 @@ - - Working with Content Assist @@ -14,32 +12,11 @@

    Working with Content Assist

    This section provides information on code entry aids.

    - - - - - - - - - - - - - - - - - -
    To learn aboutSee
    Inserting code elements and code templates into - your codeUsing Content - Assist
    Creating and editing code templatesCreating and - editing code templates
    Importing and exporting code templatesImporting and - exporting code templates
    + Inserting code elements and code templates into your code
    + Creating and editing code templates
    + Importing and exporting code templates
    -

    - -IBM Copyright Statement +

    IBM Copyright Statement

    \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_debug.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_debug.htm index ebf4dd8bb7f..87b7449c1a0 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_debug.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_debug.htm @@ -3,8 +3,6 @@ - - Debugging @@ -16,56 +14,20 @@

    This section explains how to debug your project.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ToSee
    Start a debug sessionDebugging a - program
    Add, remove, enable or disable breakpoints and - watchpointsWorking with - breakpoints and watchpoints
    Control your debug executionControlling - your debug execution
    Work in disassembly modeStepping into - assembler functions
    View or change a variableWorking with - variables
    Add and expressionAdding - expressions
    Change registers or how they are displayedWorking with - registers
    Change memory or how it is displayedWorking with memory
    + Start a debug session
    + Add, remove, enable or disable breakpoints and watchpoints
    + Add breakpoints
    + Add watchpoints
    + Remove breakpoints and watchpoints
    + Enable or disable breakpoints and watchpoints
    + Control your debug execution
    + Work in disassembly mode
    + View or change a variable
    + Add and expression
    + Change registers or how they are displayed
    + Change memory or how it is displayed
    -

     

    - -IBM Copyright Statement +

    IBM Copyright Statement diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_proj_files.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_proj_files.htm index da78ab1fb34..ce6006ac0ec 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_proj_files.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_proj_files.htm @@ -3,8 +3,6 @@ - - Working with C/C++ project files @@ -13,42 +11,15 @@

    Working with C/C++ project files

    This section explains how to create and manage project files.

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    ToSee
    Display file members in the C/C++ Projects viewDisplaying - C/C++ file components in the C/C++ Projects view
    Assign a C or C++ nature to a projectAssigning a C or - C++ nature to a project
    Create a cpp fileCreating a C++ - file
    Create a makefileCreating a - makefile
    Hide files of a given typeHiding - files by type in the C/C++ Projects view
    +

    This section explains how to create and manage project files.

    + Display file members in the C/C++ Projects view
    + Assign a C or C++ nature to a project
    + Create a cpp file
    + Create a makefile
    + Hide files of a given type

    -IBM Copyright Statement +

    IBM Copyright Statement

    \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_run.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_run.htm index 09bb464f4b6..12a194cc9e9 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_run.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_run.htm @@ -3,8 +3,6 @@ - - Running and debugging projects @@ -13,33 +11,31 @@

    Running and debugging projects

    -

    This section explains how to run a C or C++ application using an -existing run configuration and how to create a new run configuration.

    - - - - - - - - - - - - - - - - - -
    ToSee
    Specify a project and application to runCreating or - editing a run/debug configuration
    Create a run or debug configurationSelecting a run - or debug - configuration
    Debug an applicationDebugging
    +

    This section explains how to run a C or C++ application using an existing run configuration and how to create a new run configuration.

    + Specify a project and application to run
    + Select a run or debug configuration
    + Create a run or debug configuration
    + Specify a project and application
    + Specify the execution arguments & the working directory
    + Set the environment variables and values
    + Select a debugger
    + Specify the location of source files
    + Specifying the location of the run configuration
    + Debug an application
    + Start a debug session
    + Add, remove, enable or disable breakpoints and watchpoints
    + Add breakpoints
    + Add watchpoints
    + Remove breakpoints and watchpoints
    + Enable or disable breakpoints and watchpoints
    + Control your debug execution
    + Work in disassembly mode
    + View or change a variable
    + Add and expression
    + Change registers or how they are displayed
    + Change memory or how it is displayed
    -

    - -IBM Copyright Statement +

    IBM Copyright Statement

    \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_run_config.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_run_config.htm index 0ca6dc387db..f72d9a04502 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_run_config.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_run_config.htm @@ -3,8 +3,6 @@ - - Creating or editing a run/debug configuration @@ -26,59 +24,15 @@ which to run your application.

  • Source
  • Common
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ToSee
    Select a run or debug configurationSelecting a run - or debug - configuration
    Create a run or debug configurationCreating a - run or debug configuration
    Specify a project and application to run or - debugSelecting an - application to run
    Specify the execution arguments an application - uses and the working directory for a run or debug configurationSpecifying - execution arguments
    Set the environment variables and values to use - when running or debugging applicationSetting environment - variables
    Select a debugger to use when debugging an - applicationDefining debug - settings
    Specify the location of source files used when - debugging a C or C++ applicationSpecifying the - location of source files
    Specify where the run configuration is stored, - how you access it, and what perspective to open when running an applicationSpecifying the - location of the run configuration
    + Select a run or debug configuration
    + Create a run or debug configuration
    + Specify a project and application
    + Specify the execution arguments & the working directory
    + Set the environment variables and values
    + Select a debugger
    + Specify the location of source files
    + Specifying the location of the run configuration
    +  

    diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasks.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasks.htm index 491d68a073a..06a7d38c97f 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasks.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasks.htm @@ -3,8 +3,6 @@ - - Tasks @@ -13,42 +11,70 @@

    Tasks

    Task topics provide step-by-step procedural instructions to help you -perform required tasks.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ToSee
    Update your installation of the CDTUpdating the CDT
    Create projectsCreating a project
    Work with C or C++ project filesWorking with - C/C++ project files
    Write codeWriting code
    Build your C or C++ projectsBuilding - projects
    Run/debug your C or C++ projectsRunning and debugging
    -

    -IBM Copyright Statement +

    Task topics provide step-by-step procedural instructions to help you perform required tasks.

    + +Update your installation of the CDT
    +Creating a project
    +Work with C or C++ project files
    + Display file members in the C/C++ Projects view
    + Assign a C or C++ nature to a project
    + Create a cpp file
    + Create a makefile
    + Hide files of a given type
    +Write code
    + Customize the C/C++ editor
    + Comment out code
    + Use Content Assist
    + Inserting code elements and code templates into your code
    + Creating and editing code templates
    + Importing and exporting code templates
    + Shift lines of code to the left or right
    + Search for C/++ elements
    + Navigate to C/C++ declarations by name
    +Build your C or C++ projects
    + Rename a project
    + Select referenced projects
    + Configure how the CDT handles make errors, change the default build command and specify a make target
    + Control which build errors are displayed
    + Select a binary parser
    + Include paths and symbols
    + For Managed Make projects, select a deployment platform for managed make projects
    + Set build order
    + Build your project as required
    + Autosaving on manual build
    + Add a make target
    + Customize the Console view
    + View and manage compile errors
    + Jump to errors
    + Filter errors
    + Set reminders
    +Run/debug your C or C++ projects
    + Specify a project and application to run
    + Select a run or debug configuration
    + Create a run or debug configuration
    + Specify a project and application
    + Specify the execution arguments & the working directory
    + Set the environment variables and values
    + Select a debugger
    + Specify the location of source files
    + Specifying the location of the run configuration
    + Debug an application
    + Start a debug session
    + Add, remove, enable or disable breakpoints and watchpoints
    + Add breakpoints
    + Add watchpoints
    + Remove breakpoints and watchpoints
    + Enable or disable breakpoints and watchpoints
    + Control your debug execution
    + Work in disassembly mode
    + View or change a variable
    + Add and expression
    + Change registers or how they are displayed
    + Change memory or how it is displayed
    + + + +

    IBM Copyright Statement

    \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasksview.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasksview.htm index b0e74f5f65a..7aa139f89f6 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasksview.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasksview.htm @@ -3,8 +3,6 @@ - - Viewing and managing compile errors @@ -16,28 +14,12 @@

    This section describes how to view and manage compile errors. Compile errors are displayed in the Tasks view.

    + Jump to errors
    + Filter errors
    + Set reminders
    - - - - - - - - - - - - - - - - - -
    ToSee
    Jump to errorsJumping to errors
    Filter errorsFiltering the - Tasks view
    Set remindersSetting reminders
    -IBM Copyright Statement +

    IBM Copyright Statement

    diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_write_code.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_write_code.htm index 33fbf49175e..b2a6ee1576e 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_write_code.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_write_code.htm @@ -3,8 +3,6 @@ - - Writing code @@ -13,47 +11,18 @@

    Writing code

    This sections explains how to work with the C/C++ editor.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ToSee
    Customize the C/C editorCustomizing - the C/C++ editor
    Comment out codeCommenting out - code
    Use Content AssistWorking with - Content Assist
    Shift lines of code to the left or rightShifting lines - of code to the left or right
    Search for C/++ elementsSearching for C/C++ - elements
    Navigate to C/C++ declarations by nameNavigating - to C/C++ declarations
    +

    This sections explains how to work with the C/C++ editor.

    + Customize the C/C++ editor
    + Comment out code
    + Use Content Assist
    + Inserting code elements and code templates into your code
    + Creating and editing code templates
    + Importing and exporting code templates
    + Shift lines of code to the left or right
    + Search for C/++ elements
    + Navigate to C/C++ declarations by name

    - -IBM Copyright Statement +

    IBM Copyright Statement

    \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_brkpnts.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_brkpnts.htm index 3e3adc538ec..dc2be756beb 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_brkpnts.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_brkpnts.htm @@ -3,11 +3,17 @@ - - Adding breakpoints + @@ -18,17 +24,13 @@ enabled when you debug, the execution suspends before that line of code executes.

    -

    To add a breakpoint:

    - -
      -
    1. Point to the marker bar located in the left margin of the C/C++ Editor beside the line of code - where you want to add a breakpoint.
    2. -
    3. Right-click the marker bar, and select - Add Breakpoint.
    4. -

      A dot Icon: Breakpoint object is - displayed in the marker bar and - in the Breakpoints view, along with the name of the associated file.

      -
    +

    To add a breakpoint point, double click the marker bar located in the left margin of the + C/C++ Editor beside the line of code where you want to add a breakpoint. A dot + Icon: Breakpoint object is + displayed in the marker bar and in the Breakpoints view, along with the name of the associated file.
    + Screen Capture of the edit view with the cursor highlighting a breakpoint +

    For more information on marker bar icons, see Workbench User Guide > Reference > User interface information > Icons and buttons > Editor area marker bar.

    diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_codetemp.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_codetemp.htm index f3d47e4a127..f49872c13f9 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_codetemp.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_codetemp.htm @@ -3,11 +3,17 @@ - - Creating and editing code templates + @@ -22,7 +28,11 @@ org.eclipse.jdt.ui folders.

    1. Click Window > Preferences.
    2. Expand C/C++, and click Code Templates.
    3. -
    4. Click New.
    5. +
    6. Click New.
      + Screen capture for inserting a new Code Template + +
    7. Do the following:

      • In the Name field, enter a template name.
      • @@ -43,7 +53,10 @@ org.eclipse.jdt.ui folders.

        1. Click Window > Preferences.
        2. Expand C/C++, and click Code Templates.
        3. -
        4. Click Edit. The New Template dialog box opens.
        5. +
        6. Click Edit. The New Template dialog box opens.
          + Screen capture for editing a Code Template +
        7. Do the following:

          • In the Name field, change the template name to create a new diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_autosave.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_autosave.htm index a4b028c2014..54ea2d59c6f 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_autosave.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_autosave.htm @@ -3,11 +3,17 @@ - - Autosaving on a manual build + @@ -22,7 +28,9 @@ utility in the C-Build view.

            To save resources before manual builds:

            1. Click Window > Preferences.
            2. -
            3. Select Workbench from the list.
            4. +
            5. Select Workbench from the list.
              + Screen Capture of Workbench Properties
            6. On the Workbench page, select the Save all modified resources automatically prior to manual build check box.
            7. Click OK.
            8. The CDT will now save your resources when you build a project.

            diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_cbuild_pref.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_cbuild_pref.htm index d7cc86c8841..48db718c150 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_cbuild_pref.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_cbuild_pref.htm @@ -3,11 +3,17 @@ - - Customizing the C-Build view + @@ -18,11 +24,13 @@

            To set C-Build view preferences

            1. Click Window > Preferences.
            2. -
            3. Expand C/C++, and click Build Console.
            4. -
            5. To display information on the latest build, select the Always clear C-Build view before building check box.
            6. -
            7. To open the C-Build view when a project is built, select the Open C-Build view when building check box.
            8. -
            9. To display the C-Build view if it is already open when a project is built, - select the Bring the C-Build view to top when building (if present).
            10. +
            11. Expand C/C++, and click Build Console.
              + Screen Capture of Build Console Properties
            12. +
            13. To display information on the latest build, select the Always clear console before building check box.
            14. +
            15. To open the C-Build view when a project is built, select the Open console when building check box.
            16. +
            17. To display the console if it is already open when a project is built, + select the Bring the console to top when building (if present).
            18. Click OK.
            diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_comment_out.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_comment_out.htm index d14d256d3e9..f7dd58d2365 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_comment_out.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_comment_out.htm @@ -3,8 +3,6 @@ - - Commenting out code diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_contentassist.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_contentassist.htm index c9dbbe5c439..a769f78ff21 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_contentassist.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_contentassist.htm @@ -3,11 +3,17 @@ - - Using Content Assist + @@ -22,12 +28,12 @@ commonly-used snippets of code.

            1. In the C/C++ editor, type at least the first letter of a code template or - element.
            2. -
            3. Click Edit > Content Assist.
              + element then Ctrl+Space.
              A list displays the code templates - followed by the elements, in - alphabetical order, that start with the letter combination - you typed.
            4. + followed by the elements that start with the letter combination you typed. + Screen Capture of Content Assist Example +
            5. Do one of the following:
              • Continue typing. The list shortens. When there is only one item in the @@ -39,27 +45,26 @@ commonly-used snippets of code.

            To set Content Assist preferences:

            -
            1. Click Window > Preferences.
            2. Expand C/C++, and clickC/C++ Editor.
            3. -
            4. Click the Content Assist tab.
            5. +
            6. Click the Content Assist tab.
              + Screen Capture of Content Assist Preferences
            7. Do the following:
                -
              • To insert an element when you open Content Assist and it is the only - item - in the list, select the Insert single proposals automatically check - box.
              • -
              • To automatically open Content Assist when you type the first letter of an - element for which there is a match, select the Enable auto activation. -
              • -
              • To turn on Content Assist after a given number of seconds, type a value - in the Auto activation delay box.
              • -
              • To specify a character that, if typed in the C/C++ editor, causes code - assist to be invoked immediately  before the delay times out, type a - trigger in the Auto activation triggers for C: box.
              • -
              • To change the background color of the Content Assist dialog box, click - the color palette button.
              • +
              • To change the scope from which Content Assist retrieves its proposals, select + either Search current file and included files or Search current project + by selecting the appropriate the radio button.
              • +
              • To insert an element when you open Content Assist and it is the only + item in the list, select the Insert single proposals automatically check box.
              • +
              • To automatically insert a proposal, if it is the only one found when Content Assist is invoked, select the Enable auto activation checkbox.
              • +
              • To display proposals in alphabetical order, rather than by relevance, select the Present proposals in alphabetical order checkbox.
              • +
              • To change the timeout deley for Content Assist enter the value for Content Assist parsing timeout in the text box area.
              • +
              • Enable Auto activation of content assist for ".", "->" or "::" triggers by selecting the appropriate checkboxes. +
              • To change the delay before invoking Content Assist using the triggers (shown above), enter the new delay in the Auto activation delay text box area. +
              • To change the background color of the Content Assist dialog box, click the color palette button.
              • +
              • To change the foreground color of the Content Assist dialog box, click the color palette button.
            8. Click OK.
            9. diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_conv_proj.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_conv_proj.htm index e19557bb29e..e0ab309db2d 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_conv_proj.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_conv_proj.htm @@ -3,11 +3,17 @@ - - Assigning a C or C++ nature to a project + @@ -19,9 +25,11 @@

              To assign a C or C++ nature to a project

                -
              1. Click File > New > Other.
              2. +
              3. Click File > New > Other.
                + Screen Capture of the New Project window
              4. Click C or C++.
              5. -
              6. Click Convert to Make Project.
              7. +
              8. Click Convert to C/C++ Make Project.
              9. Click Next.
              10. In the Candidates for conversion list, select the projects to convert.
              11. In the Convert to C or C++ box, click C Project or C++ Project.
              12. diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_cust_cpp_editor.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_cust_cpp_editor.htm index 96a5c96ea9c..be15888b3b9 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_cust_cpp_editor.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_cust_cpp_editor.htm @@ -1,11 +1,18 @@ - Customizing the C/C++ editor +
              13. Click Window > Preferences.

              14. Expand C/C++, and click C/C++ Editor.

              15. To set general preferences for the editor click the General tab.
                -

                Editor General Preferences Dialog Box



                + Editor General Preferences Dialog Box
              16. On the General Page set your preferences and click Apply. For a description of the General preferences click here.

              17. To control the information that is displayed in the margins of the C/C++ editor, click the Annotations tab.
                -

                Editor Annotations Preferences Dialog Box



                + Editor Annotations Preferences Dialog Box
              18. On the Annotations page set your preferences and click Apply. For a description of the Annotation preferences click here.

              19. To customize the color of the text in the editable area of the C/C++ editor, click the Colors tab.
                -

                Editor Color Preferences Dialog Box



                + Editor Color Preferences Dialog Box
              20. On the Colors page set your preferences and click Apply. For a description of the Color preferences click here.

              21. To customize Content Assist preferences, click the Content Assist tab. For more information, see Using Content Assist

              22. Click OK.

              23. diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_imp_code_temp.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_imp_code_temp.htm index b821de07308..6dd70d53fe0 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_imp_code_temp.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_imp_code_temp.htm @@ -1,24 +1,18 @@ - - - Importing and exporting code templates - + @@ -33,6 +27,8 @@ <templates> <template name="author" description="author name" context="C" enabled="true">author ${user}</template> </templates> +Screen Capture of Code Templates Preferences

                To import a code template

                  diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_manualbuild.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_manualbuild.htm index 45b632b0be0..2d874d7480e 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_manualbuild.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_manualbuild.htm @@ -3,8 +3,6 @@ - - Building manually @@ -16,7 +14,7 @@

                  Manual builds let you choose the scope of a build, whether to build, or rebuild projects. You can view the output of the make utility in the -C-Build view.

                  +console.

                  To rebuild all open projects:

                  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 1e3393b7c32..e79a80d880e 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 @@ -3,8 +3,6 @@ - - Creating a C/C++ file @@ -31,10 +29,8 @@ information > Views and editors > Editor area.

                1. In the File name box, type a name followed by the appropriate extension.
                2. Click Finish.
                3. -

                  The C/C++ editor opens.

                  -
                4. Type your makefile instructions in the C/C++ editor.
                5. -
                6. Click File > - Save.
                7. +

                  The file will open in the C/C++ editor.

                  +
                8. Enter your code in the editor view and typeCTRL+s to save the file.

                Related concepts
                diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_make.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_make.htm index 10b5a26b8b2..c842a06ba12 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_make.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_make.htm @@ -3,11 +3,17 @@ - - Creating a makefile + @@ -16,16 +22,21 @@

                If you have created a Standard Make C/C++ Project, you need to provide a makefile.

                -

                When you build a project, output from make is displayed in the C-Build view. Makefile actions are displayed in the Make Targets +

                When you build a project, output from make is displayed in the Console view. Makefile actions are displayed in the Make Targets view.

                To create a makefile:

                  -
                1. In the C++ Projects view, right-click a project, and select New > File.
                2. +
                3. In the C++ Projects view, right-click a project, and select New > File.
                  + Screen Capture of a task menu highlighting New > File in Projects View
                4. In the File name box, type makefile.
                5. In the list of projects, verify that the correct project is selected.
                6. -
                7. Click Finish.
                8. -

                  The C/C++ editor opens.

                  -
                9. Type makefile instructions in the C/C++ editor.
                10. +
                11. Click Finish.
                  + Screen Capture of a task menu highlighting New > File in Projects View
                12. +
                13. The C/C++ editor opens. Type makefile instructions in the C/C++ editor.
                  + Screen Capture of the Editor view with a sample makefile
                14. Click File > Save.

                Related concepts diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_run_config.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_run_config.htm index 9b587e36aba..a22964d8656 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_run_config.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_new_run_config.htm @@ -3,18 +3,23 @@ - - Creating a run or debug configuration + -

                Creating a run or debug configuration

                -

                You can create customized run configuration that is saved for reuse.

                +

                You can create customized run configuration which you can save for reuse.

                To create a run configuration:

                @@ -23,7 +28,9 @@
              24. Click Run > Run or Run > Debug.
              25. In the Configurations box, expand C/C++ Local.
              26. Click New. The name of the new project is displayed in the - Configurations box. The default name is the name of the project.
              27. + Configurations box. The default name is the name of the project.
                + screen capture showing Run Configuration dialog box
              28. To change the default name of the new run/debug configuration, see Selecting an application to run or debug.
              diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_open_declarations.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_open_declarations.htm index a9ed4e12282..1bd7398a866 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_open_declarations.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_open_declarations.htm @@ -3,11 +3,17 @@ - - Navigating to C/C++ declarations + @@ -22,7 +28,10 @@ element declarations on successfully compiled programs.

              1. In the C/C++ editor, select a declaration.
              2. -
              3. Right-click the selected declaration, select Open Declarations.
              4. +
              5. Right-click the selected declaration, select Open Declarations.
                + screen capture showing Open Declarations option +

              For more information, see:

                diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new.htm index 7ed636fa797..0a24e6c58ea 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new.htm @@ -3,11 +3,17 @@ - - Creating a project + @@ -19,10 +25,15 @@

                To create a project:

                  -
                1. Click File > New > Project.
                2. +
                3. Click File > New > Project.
                  + Screen Capture for creating a new project +
                4. In the New Project wizard, click C or C++.
                5. Click Standard Make C++ Project  or Managed Make C++ Project.
                6. -
                7. Click Next.
                8. +
                9. Click Next.
                  + Screen Capture for selecting new project type
                10. In the Name box, type a name.
                11. To specify a different directory in which to save your project, clear the Use Default Location check box, and enter the path in the Location @@ -30,7 +41,11 @@
                12. For managed make projects, click Next to select a deployment platform. For more information, see Selecting a deployment platform.
                13. -
                14. To create your project, click Finish.
                15. If a message box prompts +
                16. To create your project, click Finish.
                  + Screen Capture for entering the name of the new project
                17. + +
                18. If a message box prompts you to switch perspectives, click Yes.
                19. Define your project properties. For more information, see Defining project properties.
                diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_parser.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_parser.htm index b127a4e0e08..31dfa649a93 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_parser.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_parser.htm @@ -3,15 +3,19 @@ - - Selecting a binary parser + - -

                Selecting a binary parser

                Selecting the correct parser is important to ensure the accuracy of the C/C++ @@ -28,31 +32,25 @@ project properties in the Preferences window for future standard make projects.<

                To select a binary parser:

                  -
                1. Do one of the following:
                2. -
                  • To set properties for future Standard Make projects, click Window > - Preferences . Expand - C/C++, click New Make Projects.
                  • -
                  • In the C/C++ Projects view, right-click a project, and select Properties. - Select C/C++ Make Project from the list.
                  -
                3. Click the Binary Parser tab.
                4. + Preferences . Expand C/C++, click New Make Projects. +
                5. Click the Binary Parser tab.
                  + Screen Capture for creating a new project
                6. In the Binary Parser list, click:
                  • Elf Parser, if you are a Solaris, UNIX, or Linux user.
                  • PE Windows Parser, if you are a Windows user.
                7. Click OK.
                -

                Related concepts -
                - CDT Projects
                Project file views

                -

                Related tasks -
                + +

                Related concepts
                +CDT Projects
                +Project file views

                +

                Related tasks
                Working with C/C++ project files

                Related reference
                Binary Parser, C/C++ Properties window

                - - IBM Copyright Statement diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_paths.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_paths.htm index a2fea483dfd..9c4e570ba55 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_paths.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_paths.htm @@ -3,21 +3,28 @@ - - Including paths and symbols +

                Including paths and symbols

                -

                You can define include paths and preprocessor symbols for the parser. This enables the parser to -understand the contents of the C/C++ source code so that you may more -effectively use the search and code completion features. Include paths are also -used by the builder to locate files that are not in the workspace.

                +

                You can define include paths and preprocessor symbols for the parser. +This enables the parser to understand the contents of the C/C++ source +code so that you may more effectively use the search and code completion +features. Include paths are also used by the builder to locate files that +are not in the workspace.

                You can define the properties on a per project basis in the New Project wizard, in the C/C++ Projects view or in the Navigator view. You can also define @@ -26,35 +33,27 @@ project properties in the Preferences window for future standard make projects.<

                To include paths and symbols:

                  -
                1. Do one of the following:
                2. -
                    -
                  • To set properties for future Standard Make projects, click Window > - Preferences . Expand - C/C++, click New Make Projects.
                  • -
                  • In the C/C++ Projects view, right-click a project, and select Properties. - Select C/C++ Make Project from the list.
                  -
                3.  Click the - Paths and - Symbols tab and do one the following:
                4. -
                  • To the right of the Include paths box, click New, type the include path and - click OK.
                  • -
                  • To the right of the Defined symbols box, click New, type the symbol and - click OK.
                  • -
                  -
                5. Click OK.
                6. -
                -

                Related concepts -
                - CDT Projects
                Project file views

                -

                Related tasks -
                +

              • To set properties for future Standard Make projects click Window > Preferences . +
              • Expand C/C++
              • +
              • Click New Make Projects.
              • +
              • Click the Paths and Symbols tab.
                + Screen Capture for creating a new project
              • +
              • For either Include Paths or Defined Symbols click Manage.
                + Screen Capture for creating a new project
              • +
              • Click New
              • +
              • Enter the include path or defined symbol and click OK.
              • +
              • Click OK to close the Manage dialog box.
              • +
              • Click OK to close the Preferences dialog box.
              • +
            +

            Related concepts
            +CDT Projects
            +Project file views

            +

            Related tasks
            Working with C/C++ project files

            -

            Related reference -
            -Paths and symbols page, C/C++ Properties -window

            - +

            Related reference
            +Paths and symbols page, C/C++ Properties window

            IBM Copyright Statement diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_rename.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_rename.htm index 8d8534b0ae7..b9a39333afc 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_rename.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_rename.htm @@ -3,11 +3,17 @@ - - Renaming a project + @@ -19,8 +25,9 @@

            To rename a project:

              -
            1. In the C/C++ Projects view, right-click a project, and select - Rename.
            2. +
            3. In the C/C++ Projects view, right-click a project, and select Rename.
              + Screen Capture of a task menu highlighting Rename in Projects View
            4. Type a new name.
            5. Press Enter.
            diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_prvw_hide_files.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_prvw_hide_files.htm index 4b29f19167d..c195b6053cb 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_prvw_hide_files.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_prvw_hide_files.htm @@ -3,11 +3,17 @@ - - Hiding files by type in the C/C++ Projects view + @@ -18,8 +24,12 @@ view.

            To hide files by type:

              -
            1. In the C/C++ Projects view, click the Menu icon.
            2. -
            3. Click Filters.
            4. +
            5. In the C/C++ Projects view, click the Menu icon.
              + Screen Capture of the selection of Filters from Projects View
            6. +
            7. Click Filters.
              + Screen Capture of the C Element Filters dialog box
            8. Select the file types that you want to hide.
            9. Click OK.
            10. The C/C++ Projects view refreshes automatically.

            diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_arg.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_arg.htm index 48438055770..3d39df35870 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_arg.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_arg.htm @@ -3,11 +3,17 @@ - - Specifying execution arguments + @@ -24,7 +30,12 @@ for a run configuration.

          • Click Run > Run or Run > Debug.
          • In the Configurations box, expand C/C++ Local.
          • Select a run or debug configuration.
          • -
          • Click the Arguments tab.
          • +
          • Click the Arguments tab.
            + Screen Capture of Run Arguments dialog box + + +
          • In the C/C++ Program Arguments box, type the arguments that you want to pass to the command line.
          • To specify a local directory or a different project in your workspace, diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_com.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_com.htm index 176a1a02f95..d44fbd4a33c 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_com.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_com.htm @@ -3,11 +3,17 @@ - - Specifying the location of the run configuration + @@ -23,12 +29,17 @@ perspective to open when running an application.

            1. In the C/C++ Projects view, select a project.
            2. Click Run > Run or Run > Debug.
            3. -
            4. In the Configurations box, expand C/C++ Local.
            5. - -
            6. Click the Common tab.
            7. +
            8. In the Configurations box, expand C/C++ Local.
            9. +
            10. Click the Common tab.
              + Screen Capture of Run Common dialog box +
            11. To save .launch to a project in your workspace, and to be able to commit it to CVS, click Shared.
            12. -
            13. In the Folder Selection window, select a project, and click OK.
            14. +
            15. In the Folder Selection window, select a project, and click OK.
              + Screen Capture of Run Common Folder Selection dialog box +
            16. To specify which perspective opens when you run, select a perspective from the Run mode list.
            17. To specify which perspective opens when you run, select a perspective diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_config.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_config.htm index 0630c5bd07d..a42fa0b8e41 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_config.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_config.htm @@ -3,11 +3,17 @@ - - Selecting a run or debug configuration + @@ -19,7 +25,12 @@

              To select a run configuration:

                +
              1. In the C/C++ Projects view, select a project.
              2. Click Run > Run or Run > Debug.
              3. +
              4. In the Configurations box, expand C/C++ Local.
              5. +
              6. Select a run or debug configuration.
                + Screen Capture of Run Config dialog box
              7. Select a configuration from the Configurations list.
              8. Click Run or Debug.
              diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_dbg.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_dbg.htm index dd9659e05cb..9687b45106f 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_dbg.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_dbg.htm @@ -3,11 +3,17 @@ - - Defining debug settings + @@ -23,12 +29,15 @@
            18. Click Run > Run or Run > Debug.
            19. In the Configurations box, expand C/C++ Local.
            20. Select a run or debug configuration.
            21. -
            22. Click the Debugger tab.
            23. +
            24. Click the Debugger tab..
              + Screen Capture of Run Debugger dialog box +
            25. +
            26. Select a debugger from the Debugger list.
            27. +
            28. To be prompted to select a process from a list at run-time, select Attach to running process.
            29. +
            30. To let your program run until you interrupt it manually, or until it + hits a breakpoint, clear the Stop at main() on startup check box .
            31. Specify debug options in the Debugger Options box.
            32. -
            33. Select a debugger from the Debugger list.
            34. -
            35. To be prompted to select a process from a list at run-time, select Attach to running process.
            36. -
            37. To let your program run until you interrupt it manually, or until it - hits a breakpoint, clear the Stop at main() on startup check box .
            38. Click Run or do the following, as required: -

            Related concepts diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_env.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_env.htm index 51d48305290..03d9824f68f 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_env.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_env.htm @@ -3,11 +3,17 @@ - - Setting environment variables + @@ -24,13 +30,17 @@ runs.

          • Click Run > Run or Run > Debug.
          • In the Configurations box, expand C/C++ Local.
          • Select a run or debug configuration.
          • -
          • Click the Environment tab.
          • -
          • Do one of the following:
            • To create a new environment variable, - click New.
            • -
            • To edit an existing environment variable, select an item from the list and - click Edit.
            • -
            • To remove an existing environment variable, select an item from the list - and click Remove.
            +
          • Click the Environment tab..
            + Screen Capture of Run Common dialog box +
          • +
          • Do one of the following: +
              +
            • To create a new environment variable, click New.
            • +
            • To import an environment variable, click Import.
            • +
            • To edit an existing environment variable, select an item from the list and click Edit.
            • +
            • To remove an existing environment variable, select an item from the list and click Remove.
            • +
          • Type a name in the Name box.
          • Type a value in the Value box.
          • Click Run or do the following, as required:
            • To specify the diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_main.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_main.htm index ba6684225b5..e3c4027273c 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_main.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_main.htm @@ -3,11 +3,17 @@ - - Selecting an application to run or debug + @@ -24,7 +30,10 @@ this run configuration.

            • Click Run > Run or Run > Debug.
            • In the Configurations box, expand C/C++ Local.
            • Select a run or debug configuration.
            • -
            • Click the Main tab.
            • +
            • Click the Main tab.
              + Screen Capture of Run Config dialog box +
            • Do the following:
              • In the Name box, type a descriptive name for this new a descriptive name for this launch configuration.
              • diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_source.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_source.htm index dc26ac7a4a2..5a2b50a1a75 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_source.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_source.htm @@ -3,11 +3,17 @@ - - Specifying the location of source files + @@ -27,28 +33,35 @@ project.

              • Select a run or debug configuration.
              • Click the Source tab.

                The Generic Source Locations list shows the location of the project selected in the C/C++ Projects view and any - referenced projects.

        -

        To add an existing source locations:

        -
        1. To add an existing project to the Additional Source Locations - list, click Add to be prompted to select a process from a list at - run-time.
        2. -
        3. In the Add Source Location dialog box, select a location type.
        4. -
        5. Click Next.
        6. -
        7. Do one of the following:
        8. -
          • Select an existing project in your workspace. Click Finish.
          • -
          • Specify a location in your file system. Click Finish.
          -
        9. Click Run or do the following, as required: - -
        + referenced projects.
        + Screen Capture of Run Source dialog box + +
      • To add an existing source locations: +
          +
        • Click Add to be prompted to select a process from a list at run-time.
        • +
        • In the Add Source Location dialog box, select a location type.
        • +
        • Click Next.
        • +
        • Do one of the following:
        • +
          • Select an existing project in your workspace. Click Finish.
          • +
          • Specify a location in your file system. Click Finish.
          +
        +
      • You can change the order of source locations are used by selecting a location and clicking + the Up or Down buttons.
      • +
      • You can remove a source location by selecting the location and clicking the Remove button.
      • +
      • To search for duplications in your source locations select the Search for duplicate source files checkbox.
      • +
      • Click Run or do the following, as required: +
      • Related concepts
        diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_search.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_search.htm index 48d735d206f..c5ac3742f62 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_search.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_search.htm @@ -3,11 +3,18 @@ - - Searching for C/C++ elements + + @@ -44,7 +51,8 @@ include paths and symbols are correctly defined. For more information, see

        In the Search dialog box, the Search string box will be populated with the selected element name.

    8. Click Search > C/C++.
    9. -
    10. In the Search string box, type a search string.
    11. +
    12. In the Search string box, type a search string.
      + Screen capture of Search dialog box
    13. To make your search case sensitive, select the Case sensitive box .
    14. Select an element in the Search For box.
    15. Select a search limiter in the Limit To box.
    16. @@ -59,8 +67,8 @@ include paths and symbols are correctly defined. For more information, see

    For more information, see:

  • Workbench User Guide > Concepts > Views > Search view
  • -
  • Workbench User Guide > Tasks > Navigating and finding resources
  • - +
  • Workbench User Guide > Tasks > Navigating and finding resources
  • +

    Related concepts
    diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_setbuildorder.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_setbuildorder.htm index cb53972a88e..315a62642e3 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_setbuildorder.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_setbuildorder.htm @@ -3,11 +3,17 @@ - - Setting build order + @@ -28,7 +34,9 @@ propagated.

    1. Click Window > Preferences.
    2. -
    3. Select Build Order from the list.
    4. +
    5. Select Build Order from the list.
      + Screen capture of Build Order dialog box. +
    6. Clear the Use default build order checkbox.
    7. Select a project in the list.
    8. Do one of the following:
    9. diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_shift_code.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_shift_code.htm index 3f64688e841..44b417065ef 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_shift_code.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_shift_code.htm @@ -3,8 +3,6 @@ - - Shifting lines of code to the right or left diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_show_proj_files.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_show_proj_files.htm index adb05ecbd97..21f68855694 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_show_proj_files.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_show_proj_files.htm @@ -3,11 +3,17 @@ - - Displaying C/C++ file components in the C/C++ Projects view + @@ -21,12 +27,16 @@ view. You can display or hide all file components in the C/C++ Projects view.

    10. Click Window > Preferences.
    11. -
    12. In the Preferences dialog box, select C/C++ from the list.
    13. +
    14. In the Preferences dialog box, select C/C++ from the list.
      + Screen Capture of the C/C++ Preferences dialog box
    15. Select the Show file members in Project View check box.
    16. Click OK.
    17. -
    18. In the C/C++ Projects view, double-click a file component.
    19. -

      The component is highlighted in the C/C++ editor.

      -
    +
  • In the C/C++ Projects view, double-click a file component.
    + The component is highlighted in the C/C++ editor.
    + Screen Capture of Projects View with file components
  • +

    The C/C++ Projects view can also be filtered to show certain types of file components. For more information, see Hiding diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_update_man.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_update_man.htm index 38f4172f0e2..6514fdd2999 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_update_man.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_update_man.htm @@ -3,23 +3,65 @@ - - Updating the CDT +

    Updating the CDT

    -

    The Install/Update perspective provides information on your current -Eclipse installation and lets you manage updates. For more information, see Workbench User Guide > Tasks > Updating - features with the update manager.

    +

    The CDT can be updated directly from the workbench using your internet connection.

    + +
      +
    1. Click Help > Software Updates > Find and Install.
      + Screen Capture of Help Find Install Menu selection
    2. +
    3. Select Search for new features to install in the Install dialog box.
      + Screen Capture of Install New Feature dialog box
    4. +
    5. If you have not updated previously, you will have to enter the location of the CDT Install site. Click + the Add Update Site... button.
      + Screen Capture of Install Sites dialog box
    6. +
    7. In the New Update Site dialog box, enter a name and the URL for the update site in the spaces provided.
      + Screen Capture of Install New Site dialog box
    8. +
    9. Select the update site you just created by clicking the appropriate checkbox and click Next.
      + Screen Capture of Install Sites dialog box with the CDT site selcted
    10. +
    11. A dialog box will appear showing the updates available from the update site, select each of the following features, + ensuring you have precicely the same version for each one: +
        +
      • Eclipse C/C+ Developement Tools
      • +
      • Eclipse C/C+ Manage Make Build
      • +
      • Eclipse C/C+ Standard Make Build
      • +
      + Then click Next.
      + Screen Capture of Search Results dialog box
    12. +
    13. You should now see the Eclipse.org Software User Agreement, you must accept the agreement to install the CDT update. + Do so by selecting I accept the terms in the license agreement and then click Next.
      + Screen Capture of the Feature License dialog box
    14. +
    15. Now select the location you would like the updates installed, usually this is the directory where you installed Eclipse, + and click Finish.
      + Screen Capture of Install Location dialog box
    16. +
    17. You will now start downloading the CDT components. You will have to verify that you want the features installed by clicking + Install for each feature you selected.
      + Screen Capture of Feature Verification dialog box
    18. -

      You can also click Help > Software Updates > New Updates to view a -list of the updates available for the toolsets you have installed.

      Related concepts
      CDT Overview
      diff --git a/doc/org.eclipse.cdt.doc.user/topics_Concepts.xml b/doc/org.eclipse.cdt.doc.user/topics_Concepts.xml index 0cae128cdd9..d4199f74ab3 100644 --- a/doc/org.eclipse.cdt.doc.user/topics_Concepts.xml +++ b/doc/org.eclipse.cdt.doc.user/topics_Concepts.xml @@ -5,7 +5,6 @@ - diff --git a/doc/org.eclipse.cdt.doc.user/topics_Getting_Started.xml b/doc/org.eclipse.cdt.doc.user/topics_Getting_Started.xml index a63b19a7bdf..7dbbf0d5d3b 100644 --- a/doc/org.eclipse.cdt.doc.user/topics_Getting_Started.xml +++ b/doc/org.eclipse.cdt.doc.user/topics_Getting_Started.xml @@ -8,4 +8,5 @@ + diff --git a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml index 4538e591eb4..41bfa9f1eec 100644 --- a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml +++ b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml @@ -3,7 +3,7 @@ - + diff --git a/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml b/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml index bde9149d608..4f17411df4c 100644 --- a/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml +++ b/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml @@ -3,70 +3,73 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +