diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_menu_source.png b/doc/org.eclipse.cdt.doc.user/images/cdt_menu_source.png new file mode 100755 index 00000000000..d293d2bb8cb Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_menu_source.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_menubar.png b/doc/org.eclipse.cdt.doc.user/images/cdt_menubar.png index a1bbe79d1a8..44a91de3a73 100644 Binary files a/doc/org.eclipse.cdt.doc.user/images/cdt_menubar.png and b/doc/org.eclipse.cdt.doc.user/images/cdt_menubar.png differ diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_menu.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_menu.htm old mode 100644 new mode 100755 index 18cf71e4c7f..06217f65a24 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_o_menu.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_o_menu.htm @@ -11,7 +11,7 @@

C/C++ Menubar

This section describes the menubar options available from the C/C++ perspective.

-

CDT main menu

@@ -19,6 +19,8 @@ alt="CDT main menu"> Edit Menu actions
+Source Menu actions
+ Refactor Menu actions
Navigate Menu actions
@@ -30,7 +32,7 @@ alt="CDT main menu"> Run Menu actions
Window Menu actions
-

IBM Copyright Statement +

IBM Copyright Statement

\ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_source.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_source.htm new file mode 100755 index 00000000000..eb2d37202a7 --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_source.htm @@ -0,0 +1,110 @@ + + + + + +Source Menu actions + + + +
+

Source Menu actions

+

+ Selecting Source Menu +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameFunctionKeyboard Shortcut
Add or remove single-line, C++-style, + comment markers on each line in the selection, or the line + containing the cursor, if there is no selectionCtrl+/
Add a block comment around the + selectionCtrl+Shift+/
If the selection contains one or more + block comments, remove themCtrl+Shift+\
Increase indentation on each line in + the selection, or the line containing the cursor, if there is no + selection 
Decrease indentation on each line in + the selection, or the line containing the cursor, if there is no + selectionShift+Tab
Apply simple indentation rules to the + current selection, or the line containing the cursor, if there is + no selectionCtrl+I
Apply the full C/C++ + > Code Style > Formatter preferences to the entire contents + of the active editor, or to the selection if there is one + Ctrl+Shift+F
Add an include statement and, + optionally, a "using" declaration for the currently selected nameCtrl+Shift+N
Sort the selected linesCtrl+Alt+S
Open the Implement Method dialog 
Open the Generate Getters and Setters + dialog that allows you to create Getters and Setters for fields in + the current type. Available on fields and types or on a text + selection inside a type 
Surround the selected statements with a + code templateAlt+Shift+Z
+

+ Intel Copyright Statement +

+
+ + \ No newline at end of file