diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_whatsnew.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_whatsnew.htm index f277cf6992f..d0d800887da 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_whatsnew.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_whatsnew.htm @@ -42,6 +42,23 @@ may contain other information.

Rename in File + + + +

Refactoring

+ + "Extract local variable" is added via editor context menu. + Select an expression in the editor and select Refactor > Extract local variable + from the context menu. +

refactor

+

refactoring context menu highlighting 'extract local variable' +

Give the new local variable a name

+

refactor

+ A local variable is created from the expression and its + use is inserted in the original expression. +

refactor

+ +

Add Include

@@ -58,7 +75,7 @@ may contain other information. - + @@ -113,7 +130,7 @@ may contain other information.

C style block commenting

C style block commenting (Ctrl-Shift-/) improved - + @@ -189,20 +206,7 @@ may contain other information.

Improved open declaration for unresolved symbols - - - -

Refactoring
- - - - -

Extract local variable

- - Extract local variable - - - + @@ -357,7 +361,7 @@ may contain other information.

texthere

text here. -

alternate text for image for accessibilty +

alternate text for image for accessibility --> diff --git a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_basic.htm b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_basic.htm index 7914bc4981a..c5d157fcc98 100644 --- a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_basic.htm +++ b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_basic.htm @@ -74,6 +74,7 @@ With CDT 4.0, you now select a project type, and that determines what build syst

Step 2: Reviewing the code and building the project

  1. From the Project Explorer in the C++ Projects View, double-click the .cpp file that was created for your project, for example, Hello World.cpp. +

    Note that the file may be within a folder inside the project, e.g. the "src" folder.

    This file opens in a default editor. It contains C++ template code for the Hello World example project you selected earlier.


    Note: You can specify a different editor, and add or modify existing code templates in Window > Preferences.

    In addition, the Outline view has also been populated @@ -97,8 +98,8 @@ corresponding text in the editor is highlighted.


    To run your application:

      -
    1. Within the C/C++ Perspective, click Run > Run.


    2. -
    3. Select C/C++ Local Application.


    4. +
    5. Within the C/C++ Perspective, click Run > Run Configurations....


    6. +
    7. Select C/C++ Application.


    8. Click New.


    9. A new Run Configuration is created. Its name and path to the executable are provided by the project ('Hello World' in our case). diff --git a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_debug.htm b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_debug.htm index 6961d0e91fb..8584641ac21 100644 --- a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_debug.htm +++ b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_debug.htm @@ -17,13 +17,14 @@ breakpoints, suspending executed programs, stepping through your code, and examining the contents of variables.

      To debug a project:

        -
      1. Click Run > Debug.

        The Debug window opens.

      2. -
      3. Double-click C++ Local Application.
      4. +
      5. Click Run > Debug Configurations....

        The Debug Configurations dialog opens.

      6. +
      7. Double-click C++ Application.
      8. In the Name field, type Hello World.
      9. You can now select this debug launch configuration by name the next time that you debug this project.

        -
      10. In the Project box, type hello.exe.
      11. +
      12. In the Project box, type hello.exe. [???????]
      13. Click Debug.
      14. +

        You will be prompted to switch to the Debug Perspective. Click Yes

        You will now see the debug perspective with the hello.exe application window open. The C/C++ editor repositions in the perspective.

      15. In the left margin of the main.cpp window, double-click to set a diff --git a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_newproj.htm b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_newproj.htm index 9a21a53ddd9..24c3dbda0d6 100644 --- a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_newproj.htm +++ b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_newproj.htm @@ -61,6 +61,7 @@ There can be several toolchains available, depending on the compilers installed
      16. Click Advanced Settings.
      17. Click the Binary Parser tab.


        Click here to see an illustration.


        +

      18. In the Binary Parser list, select PE Windows Parser.
      19. To ensure the accuracy of the C/C++ Projects view and the ability to successfully diff --git a/doc/org.eclipse.cdt.doc.user/images/60/refactorExtractLocalVar.png b/doc/org.eclipse.cdt.doc.user/images/60/refactorExtractLocalVar.png new file mode 100644 index 00000000000..cabb23f2507 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/60/refactorExtractLocalVar.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/60/refactor_after.png b/doc/org.eclipse.cdt.doc.user/images/60/refactor_after.png new file mode 100644 index 00000000000..22941e29e70 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/60/refactor_after.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/60/refactor_before.png b/doc/org.eclipse.cdt.doc.user/images/60/refactor_before.png new file mode 100644 index 00000000000..365c137bdea Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/60/refactor_before.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/60/refactor_varname.png b/doc/org.eclipse.cdt.doc.user/images/60/refactor_varname.png new file mode 100644 index 00000000000..e9400017ecb Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/60/refactor_varname.png differ diff --git a/doc/org.eclipse.cdt.doc.user/intro/cdtWhatsnew.xml b/doc/org.eclipse.cdt.doc.user/intro/cdtWhatsnew.xml index 343f003e636..90a708a4145 100644 --- a/doc/org.eclipse.cdt.doc.user/intro/cdtWhatsnew.xml +++ b/doc/org.eclipse.cdt.doc.user/intro/cdtWhatsnew.xml @@ -7,7 +7,7 @@ - Learn about what's new in CDT 5.0 + Learn about what's new in CDT 6.0 diff --git a/doc/org.eclipse.cdt.doc.user/toc.xml b/doc/org.eclipse.cdt.doc.user/toc.xml index 3ce619184ba..4387cf410b9 100644 --- a/doc/org.eclipse.cdt.doc.user/toc.xml +++ b/doc/org.eclipse.cdt.doc.user/toc.xml @@ -22,7 +22,7 @@ - +