diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm index 5f3fe2392a9..7ab18309b10 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm @@ -3,7 +3,7 @@
-
+
The CDT uses the same make utility and makefile used on the command line. +
The CDT relies on an external mae utility, such as GNU make, to build a project. The CDT can generate makefiles automatically when you create a Managed Make C project or a Managed Make C++ project. You have the option of creating a Standard Make C project or a Standard Make C++ project and providing the makefile.
Cygwin contains these utilities for a Windows environment, while running the cygwin installation ensure gcc and make are selected, they are not installed by default. +
Tip: Cygwin contains these utilities for a Windows environment, while running the cygwin installation ensure gcc and make are selected, they are not installed by default. For more information, see http://www.cygwin.com. Red Hat users, all you need to build your project is included in the Red Hat Linux installation. For other operating systems please refer to your installation documentation.
-To test if your compiler was installed correctly open a command prompt or terminal window and type g++ or make. -An error message stating the command was not found or not recognized means that the utility is not installed or your path is not configured correctly.
-To check your path at a command prompt and the appropriate path command (i.e. enter PATH for windows users or echo $PATH for linux users). Make sure that the path to your build utility is defined (example PATH=c:\cygwin\bin).
This is an incremental build (make all). Only the components affected by modified files in that particular -project are built.
+This is an incremental build (make all, assuming all is defined in your makefile). Only the components affected by modified files in that particular project are built.
Builds every file in the project whether or not a file has been modified since -the last build. A rebuild is a clean followed by a -build.
+Builds every file in the project whether or not a file has been modified since the last build. A rebuild is a clean followed by a build.
For more information on builds, see:
-For more information about the Tasks view, see Workbench User Guide > Reference > User interface information > Views and editors > Tasks -view.
+For more information about the Tasks view, see Workbench User Guide > Reference > User interface information > Views and editors > Tasks view.
You can either create a C project for which you supply the +
You can either create a C project for which you supply the makefile or create a C project for which the CDT generates makefiles automatically.
-makefile -or create a C project for which the CDT generates makefiles automatically. - - -To create a new project, from the menu bar choose -File > New > Project. -In the dialog that appears: -
+To create a new project, from the menu bar choose File > New > Project. In the dialog that appears:
You can set build preferences in Eclipse:
When you set the build order, the CDT does not rebuild projects -that depend -on a project; you must rebuild all projects to ensure all changes are -propagated. -
- -When you set the build order, the CDT does not rebuild projects that depend on a project; + you must rebuild all projects to ensure all changes are propagated.
The C/C++ compiler that a project uses is controlled by the project's -Properties setting. -To view a project's properties, right-click on the project and select -Properties. -In the dialog that appears, the -C/C++ Make Project page enables you -to control a variety of settings, including:
- +The C/C++ compiler that a project uses is controlled by the project's Properties setting. +To view a project's properties, right-click on the project and select Properties. +In the dialog that appears, the C/C++ Make Project page enables you to control a variety of settings, including:
The External Tools Builders page -enables you to add, reorder, or remove external build tools. -
-Build-related information is displayed as follows: -
- +Build-related information is displayed as follows:
CDT Projects
diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_comments.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_comments.htm
index 153bb7384c9..8351875e0a4 100644
--- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_comments.htm
+++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_comments.htm
@@ -19,7 +19,7 @@ Two styles of comments are supported by current C/C++ compilers:
You can quickly comment out one or more lies of code by inserting the leading +
You can quickly comment out one or more lines of code by inserting the leading characters // at the beginning of the line. To do so, select the line (or lines) of code you want to comment out and press CTRL+/ (slash).
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 f258edee4a2..12e068ccc85 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 @@ -4,16 +4,8 @@ -Content assist provides code completion in the body of a method -or a function. For the current project (and any referenced projects) a list is +
Content assist provides code completion anywhere in the document. For the current project a list is displayed of the elements that begin with the letter combination you entered, and the relevance of each proposal is determined in the following order:
@@ -43,20 +34,16 @@ the relevance of each proposal is determined in the following order:You can view the signature of each item on the list in a pop-up by pointing -to it. You can then select an -item in the list to insert it directly into your code. Newly created -elements in your current or referenced project(s) must be saved before they will -appear in the Content Assist list.
+You can view the signature of each item on the list in a pop-up by pointing to it. You can then select an item in the list to insert it directly into your code.
You can create and save code templates for frequently used sections of code. The Content Assist feature also provides quick access to code +
You can create and save code templates for frequently used sections of code, which will be inserted according to scope. The Content Assist feature also provides quick access to code templates.
When you enter a letter combination in the C/C++ editor, and type CTRL+SPACE (or right-click and click Content Assist), a diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_editor.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_editor.htm index 656ba919c13..bfd16a59b5c 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_editor.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_editor.htm @@ -10,40 +10,20 @@
The CDT provides an editor that gives you specific support for editing C code. -This C editor is invoked automatically when you edit a -.c or .cpp -file. -
+The CDT provides an editor that gives you specific support for editing C/C++ code. +This C/C++ editor is invoked automatically when you edit a C/C++ source file.
-The C editor includes the following features:
+The C/C++ editor includes the following features:
You can control some of the operation of the C editor from the Window > Preferences > C/C++ > C/C++ Editor preferences dialog.
+You can customize some of the operation of the C editor from the Window > Preferences > C/C++ > Editor preferences dialog.
--You invoke the C editor's Content Assist function by typing the first characters of a C statement, then pressing Ctrl+Space. -Eclipse proposes code templates based on the .c or .cpp file type. -
-To access the C/C++ Editor context menu, right-click in a C/C++ editor.
- -The C/C++ Editor context menu contains an Include feature. -If you right-click on a function and choose Add Include, -the editor attempts to determine the header in which the function is prototyped -(this determination is done through a code-completion contributor extension). -If this is successful, the editor adds the appropriate -#include at the top of the file.
@@ -66,4 +46,4 @@ If this is successful, the editor adds the appropriate
You can select an element name in your code and quickly navigate to its declaration.
-If the search finds only one matching declaration, you will immediately jump to the declaration, even if it is in another file. If -the search finds multiple declarations, a windowed list of prospects will appear.
+Open declaraion will attempt to navigate to the exact declaraion of the selected element. Open declaration requires your file to have the proper include paths set up to the declaraion. If for any reason open declaraion cannot find the declarion, it will display the following message in the status line:
+ +
CDT Projects
diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_outlineview.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_outlineview.htm
index 8c6bd7ccd24..383d3ac9659 100644
--- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_outlineview.htm
+++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_outlineview.htm
@@ -21,23 +21,24 @@ open in the editor area, by listing the structural elements.
You can also sort the list @@ -67,6 +68,7 @@ items:
For more information, see Workbench User Guide > Concepts > Perspectives.
diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_proj_file_views.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_proj_file_views.htm index cc724b94caa..fde4e92abdb 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_proj_file_views.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_proj_file_views.htm @@ -6,14 +6,6 @@The C/C++ Projects view displays, in a tree structure, only C and C++ project files. In this view you can do the following:
-
Breakpoints view
Console view
Debug view
Expressions view
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 5a83393b8b1..c7ee718cf54 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
@@ -31,7 +31,7 @@
What's New in M8
+What's New in 2.0
Parser performance enhancements were added.
+Builds can now be performed in the background.
+Searches can now be performed in the background.
+Automatically generate project defines and include paths settings from the C/C++ > New Make Projects > Discovery Options project settings. + +
Define specific files, especially C++ headers without extensions, using the C/C++ File Types global preferences or project property.
+ +Building from multiple binary formats? Choose the appropriate formats using the Binary Parser project option.
+ +Enable the editor hyperlink navigation and then you can use Ctrl+click to jump to the declaration of an item on the C/C++ editor.
+ +Enable C/C++ indexing and indexer error reporting in the C/C++ Indexer properties. This helps identify projects missing path configuration information.
+ +Use the Outline or the C/C++ Editor Refactor > Rename context menu to refactor class & type names, methods, function & member names.
+ +Use Open Type to open up the declaration of C/C++ classes, structures, unions, typedefs, enumerations and namespaces.
+ +Configure the default behavior of the automatic retrieval of shared library and register information in the C/C++ debugger.
+ +You can now set the compiler command for managed projects.
@@ -54,26 +80,16 @@You can now open Include files from the Outline View.
-Rename Refactoring is now supported from Projects, Outline and Editor views.
You can now perform selection searches from the C/C++ Editor
Search now supports external files referenced using #include.
-
- What's New Since 1.2 - |
-
You can now browse the structure of your Makefile in Outline View.
Content Assist now produces proposals from class members.
+Content Assist now produces proposals from classes and structure members, local & global variables, pre-processor defines, pre-processor commands.
Content Assist now supports C++.
@@ -140,7 +156,7 @@ to search, mapping, and the order of the search. and auto-load-symbols. Stop-on-solib will force the debugger to stop on any shared library events. Auto load will load the symbols for any shared library.Arrays are now separated into ranges, to limit the possibility of a timeout +
Arrays are now separated into ranges, to limit the possibility of a timeout on large arrays.
-
-
-
This section describes the build views and terminology.
-This section provides information on editing C/C++ files.
-