Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Weinstein2013-02-15 02:25:46 +0000
committerSergey Prigogin2013-02-15 20:11:44 +0000
commitee70160c98e98591e789175ab95cd3e884a00517 (patch)
tree38c54db2b75ca863a5f9dd0b18033d7696383131
parent4af3066d40cc0babae56064304fc6392ecbe0ceb (diff)
downloadorg.eclipse.cdt-ee70160c98e98591e789175ab95cd3e884a00517.tar.gz
org.eclipse.cdt-ee70160c98e98591e789175ab95cd3e884a00517.tar.xz
org.eclipse.cdt-ee70160c98e98591e789175ab95cd3e884a00517.zip
add missing items to Refactor menu docs
Change-Id: I7baf8e88da0cfeeff27e984f406e0cf16439ba8a Reviewed-on: https://git.eclipse.org/r/10398 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
-rw-r--r--doc/org.eclipse.cdt.doc.user/images/cdt_menu_refactor.pngbin8505 -> 29061 bytes
-rwxr-xr-x[-rw-r--r--]doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_refactor.htm81
2 files changed, 66 insertions, 15 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_menu_refactor.png b/doc/org.eclipse.cdt.doc.user/images/cdt_menu_refactor.png
index 99d958ed577..44acf0bf451 100644
--- a/doc/org.eclipse.cdt.doc.user/images/cdt_menu_refactor.png
+++ b/doc/org.eclipse.cdt.doc.user/images/cdt_menu_refactor.png
Binary files differ
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_refactor.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_refactor.htm
index f9046de7912..c648d84e533 100644..100755
--- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_refactor.htm
+++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_refactor.htm
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
@@ -9,22 +9,73 @@
</head>
<body>
-<div role="main"><h1>Refactor Menu actions</h1>
+ <div role="main">
+ <h1>Refactor Menu actions</h1>
-<p><img src="../images/cdt_menu_refactor.png" alt="Selecting Refactor Menu" ></p>
+ <p>
+ <img src="../images/cdt_menu_refactor.png"
+ alt="Selecting Refactor Menu">
+ </p>
+ <table border="1" cellspacing="0">
+ <tr>
+ <th id="name">Name</th>
+ <th id="function">Function</th>
+ <th id="keyboard">Keyboard Shortcut</th>
+ </tr>
+ <tr>
+ <td headers="name"><strong>Apply Script...</strong></td>
+ <td headers="function">Applies a previously saved list of refactorings.</td>
+ <td headers="keyboard">&nbsp;</td>
+ </tr>
+ <tr>
+ <td headers="name"><strong>Create Script...</strong></td>
+ <td headers="function">Exports a list of previously done refactorings for later use.</td>
+ <td headers="keyboard">&nbsp;</td>
+ </tr>
+ <tr>
+ <td headers="name"><strong>History...</strong></td>
+ <td headers="function">Displays a history of refactorings.</td>
+ <td headers="keyboard">&nbsp;</td>
+ </tr>
+ <tr>
+ <td headers="name"><strong>Rename...</strong></td>
+ <td headers="function">Renames selected object (variable,
+ method, etc...) and propagates changes to other files in project.</td>
+ <td headers="keyboard">Alt+Shift+R</td>
+ </tr>
+ <tr>
+ <td headers="name"><strong>Extract Local Variable...</strong></td>
+ <td headers="function">Extracts selected subexpression into a new local variable.</td>
+ <td headers="keyboard">Alt+Shift+L</td>
+ </tr>
+ <tr>
+ <td headers="name"><strong>Extract Constant...</strong></td>
+ <td headers="function">Replaces all instances of selected literal with a named constant.</td>
+ <td headers="keyboard">Alt+C</td>
+ </tr>
+ <tr>
+ <td headers="name"><strong>Extract Function...</strong></td>
+ <td headers="function">Replaces selected statements with a call to a new function containing them.</td>
+ <td headers="keyboard">Alt+Shift+M</td>
+ </tr>
+ <tr>
+ <td headers="name"><strong>Toggle Function Definition</strong></td>
+ <td headers="function">Moves selected function definition from a header file (in- or outside a class definition) to an implementation file, or back.</td>
+ <td headers="keyboard">Alt+Shift+T</td>
+ </tr>
+ <tr>
+ <td headers="name"><strong>Hide Method...</strong></td>
+ <td headers="function">Makes selected method private.</td>
+ <td headers="keyboard">&nbsp;</td>
+ </tr>
-<p><table border="1" cellspacing="0">
+ </table>
+ <p></p>
-<tr><th id="name">Name</th><th id="function">Function</th><th id="keyboard">Keyboard Shortcut</th></tr>
-<tr>
- <td headers="name"><strong>Rename...</strong></td>
- <td headers="function">Renames selected object (variable, method, etc...) and propagates changes to other files in project.</td>
- <td headers="keyboard">Alt+Shift+R</td>
-</table><p></p>
-
-<p>
-<img src="../images/intl_07.gif" ALT="Intel Copyright Statement" >
-</p>
-</div></body>
+ <p>
+ <img src="../images/intl_07.gif" alt="Intel Copyright Statement">
+ </p>
+ </div>
+</body>
</html> \ No newline at end of file

Back to the top