diff options
author | Jesse Weinstein | 2013-02-15 18:50:56 +0000 |
---|---|---|
committer | Sergey Prigogin | 2013-02-23 00:07:33 +0000 |
commit | 8da0b43d309d36e47f3e16eb55bfc7fd22020738 (patch) | |
tree | 4b35056889ee49c366557da57fb2bd118638c296 /doc/org.eclipse.cdt.doc.user | |
parent | 3fc0510ecda32a5306c6fb0519c6060958a10303 (diff) | |
download | org.eclipse.cdt-8da0b43d309d36e47f3e16eb55bfc7fd22020738.tar.gz org.eclipse.cdt-8da0b43d309d36e47f3e16eb55bfc7fd22020738.tar.xz org.eclipse.cdt-8da0b43d309d36e47f3e16eb55bfc7fd22020738.zip |
Bug 400955: add Source menu docs
Some of the descriptions are not very good, and will be improved in a
future commit.
Change-Id: I1150a76c504fe0cf71911acb3c0a1c6e72ee3686
Reviewed-on: https://git.eclipse.org/r/10557
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Diffstat (limited to 'doc/org.eclipse.cdt.doc.user')
-rwxr-xr-x | doc/org.eclipse.cdt.doc.user/images/cdt_menu_source.png | bin | 0 -> 19480 bytes | |||
-rw-r--r-- | doc/org.eclipse.cdt.doc.user/images/cdt_menubar.png | bin | 7940 -> 19281 bytes | |||
-rwxr-xr-x[-rw-r--r--] | doc/org.eclipse.cdt.doc.user/reference/cdt_o_menu.htm | 6 | ||||
-rwxr-xr-x | doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_source.htm | 110 |
4 files changed, 114 insertions, 2 deletions
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 Binary files differnew file mode 100755 index 00000000000..d293d2bb8cb --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/images/cdt_menu_source.png diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_menubar.png b/doc/org.eclipse.cdt.doc.user/images/cdt_menubar.png Binary files differindex a1bbe79d1a8..44a91de3a73 100644 --- a/doc/org.eclipse.cdt.doc.user/images/cdt_menubar.png +++ b/doc/org.eclipse.cdt.doc.user/images/cdt_menubar.png 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 index 18cf71e4c7f..06217f65a24 100644..100755 --- 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 @@ <div role="main"><h1>C/C++ Menubar</h1> <p>This section describes the menubar options available from the C/C++ perspective.</p> -<p><img src="../images/cdt_menubar.png" +<p><img src="../images/cdt_menubar.png" alt="CDT main menu"> </p> <img src="../images/trans.gif" width="25" height="1" alt=""> @@ -19,6 +19,8 @@ alt="CDT main menu"> <img src="../images/trans.gif" width="25" height="1" alt=""> <a style="text-decoration:none" href="cdt_u_m_edit.htm">Edit Menu actions</a><br> <img src="../images/trans.gif" width="25" height="1" alt=""> +<a style="text-decoration:none" href="cdt_u_m_source.htm">Source Menu actions</a><br> + <img src="../images/trans.gif" width="25" height="1" alt=""> <a style="text-decoration:none" href="cdt_u_m_refactor.htm">Refactor Menu actions</a><br> <img src="../images/trans.gif" width="25" height="1" alt=""> <a style="text-decoration:none" href="cdt_u_m_navigate.htm">Navigate Menu actions</a><br> @@ -30,7 +32,7 @@ alt="CDT main menu"> <a style="text-decoration:none" href="cdt_u_m_run.htm">Run Menu actions</a><br> <img src="../images/trans.gif" width="25" height="1" alt=""> <a style="text-decoration:none" href="cdt_u_m_window.htm">Window Menu actions</a><br> -<p><img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > +<p><img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > </p> </div></body> </html>
\ 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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html lang="en"> +<head> +<meta http-equiv="Content-Language" content="en-us"> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<title>Source Menu actions</title> +<link rel="stylesheet" type="text/css" href="../help.css"> +</head> +<body> + <div role="main"> + <h1>Source Menu actions</h1> + <p> + <img src="../images/cdt_menu_source.png" alt="Selecting Source Menu"> + </p> + <table border="1" cellspacing="0" cellpadding="3"> + <thead> + <tr> + <th id="name">Name</th> + <th id="function">Function</th> + <th id="keyboard">Keyboard Shortcut</th> + </tr> + </thead> + <tbody> + <tr> + <td class="menu_name" headers="name">Toggle Comment</td> + <td headers="function">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 selection</td> + <td headers="keyboard">Ctrl+/</td> + </tr> + <tr> + <td class="menu_name" headers="name">Add Block Comment</td> + <td headers="function">Add a block comment around the + selection</td> + <td headers="keyboard">Ctrl+Shift+/</td> + </tr> + <tr> + <td class="menu_name" headers="name">Remove Block Comment</td> + <td headers="function">If the selection contains one or more + block comments, remove them</td> + <td headers="keyboard">Ctrl+Shift+\</td> + </tr> + <tr> + <td class="menu_name" headers="name">Shift Right</td> + <td headers="function">Increase indentation on each line in + the selection, or the line containing the cursor, if there is no + selection</td> + <td headers="keyboard"> </td> + </tr> + <tr> + <td class="menu_name" headers="name">Shift Left</td> + <td headers="function">Decrease indentation on each line in + the selection, or the line containing the cursor, if there is no + selection</td> + <td headers="keyboard">Shift+Tab</td> + </tr> + <tr> + <td class="menu_name" headers="name">Correct Indentation</td> + <td headers="function">Apply simple indentation rules to the + current selection, or the line containing the cursor, if there is + no selection</td> + <td headers="keyboard">Ctrl+I</td> + </tr> + <tr> + <td class="menu_name" headers="name">Format</td> + <td headers="function">Apply the full <strong>C/C++ + > Code Style > Formatter</strong> preferences to the entire contents + of the active editor, or to the selection if there is one + </td> + <td headers="keyboard">Ctrl+Shift+F</td> + </tr> + <tr> + <td class="menu_name" headers="name">Add Include</td> + <td headers="function">Add an include statement and, + optionally, a "using" declaration for the currently selected name</td> + <td headers="keyboard">Ctrl+Shift+N</td> + </tr> + <tr> + <td class="menu_name" headers="name">Sort Lines</td> + <td headers="function">Sort the selected lines</td> + <td headers="keyboard">Ctrl+Alt+S</td> + </tr> + <tr> + <td class="menu_name" headers="name">Implement Method...</td> + <td headers="function">Open the Implement Method dialog</td> + <td headers="keyboard"> </td> + </tr> + <tr> + <td class="menu_name" headers="name">Generate Getters and + Setters...</td> + <td headers="function">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</td> + <td headers="keyboard"> </td> + </tr> + <tr> + <td class="menu_name" headers="name">Surround With</td> + <td headers="function">Surround the selected statements with a + code template</td> + <td headers="keyboard">Alt+Shift+Z</td> + </tr> + </tbody> + </table> + <p> + <img src="../images/intl_07.gif" alt="Intel Copyright Statement"> + </p> + </div> +</body> +</html>
\ No newline at end of file |