mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
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>
This commit is contained in:
parent
4af3066d40
commit
ee70160c98
2 changed files with 66 additions and 15 deletions
Binary file not shown.
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 28 KiB |
81
doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_refactor.htm
Normal file → Executable file
81
doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_refactor.htm
Normal file → Executable file
|
@ -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"> </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"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td headers="name"><strong>History...</strong></td>
|
||||
<td headers="function">Displays a history of refactorings.</td>
|
||||
<td headers="keyboard"> </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"> </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>
|
Loading…
Add table
Reference in a new issue