summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Weinstein2013-03-13 16:07:05 (EDT)
committer Sergey Prigogin2013-03-13 18:10:20 (EDT)
commit01b43ae445fd290796ee1720f9fcf013d76c34be (patch)
tree637d27d1f06b8b92de93a96030b09045cd5c1300
parent821bae59124218ccbd200b34053b2daa84ec18db (diff)
downloadorg.eclipse.cdt-01b43ae445fd290796ee1720f9fcf013d76c34be.zip
org.eclipse.cdt-01b43ae445fd290796ee1720f9fcf013d76c34be.tar.gz
org.eclipse.cdt-01b43ae445fd290796ee1720f9fcf013d76c34be.tar.bz2
Bug 403263: Add pref links to menu docsrefs/changes/31/11131/2
Change-Id: I30c9c775570d091927f56f5212deaf237c66b1a9 Reviewed-on: https://git.eclipse.org/r/11131 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm9
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/reference/cdt_u_m_navigate.htm2
-rwxr-xr-xdoc/org.eclipse.cdt.doc.user/reference/cdt_u_m_source.htm18
3 files changed, 22 insertions, 7 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm
index feebc7e..269cec8 100755
--- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm
+++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_edit.htm
@@ -5,6 +5,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Edit Menu actions</title>
<link rel="stylesheet" type="text/css" href="../help.css">
+<script type="text/javascript"
+ src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<div role="main">
@@ -166,8 +168,11 @@
<tr>
<td class="menu_name" headers="name">Smart Insert Mode</td>
<td headers="function">Toggles the Smart Insert mode (i.e. the
- auto-completion features defined in <strong>C/C++ &gt;
- Editor &gt; Typing</strong>)
+ auto-completion features defined in <a class="command-link"
+ href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.SmartTypingPreferencePage)")'>
+ <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png"
+ alt="command link" /> C/C++ &gt; Editor &gt; Typing
+ </a>)
</td>
<td headers="keyboard">Ctrl+Shift+Insert</td>
</tr>
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_navigate.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_navigate.htm
index 434212a..6a10b19 100755
--- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_navigate.htm
+++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_m_navigate.htm
@@ -232,7 +232,7 @@
</table>
<p class="note">
<strong>Note: </strong> Other <strong>Navigate</strong> options are
- used with the JDT. Refer to the <em>Java Development User Guide</em>
+ used with the JDT. Refer to the <a href="PLUGINS_ROOT/org.eclipse.jdt.doc.user/reference/ref-menu-navigate.htm">Java development user guide</a>
for details.
</p>
<p>
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
index eb2d372..a2c277a 100755
--- 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
@@ -5,6 +5,8 @@
<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">
+<script type="text/javascript"
+ src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<div role="main">
@@ -63,9 +65,12 @@
</tr>
<tr>
<td class="menu_name" headers="name">Format</td>
- <td headers="function">Apply the full <strong>C/C++
- &gt; Code Style &gt; Formatter</strong> preferences to the entire contents
- of the active editor, or to the selection if there is one
+ <td headers="function">Apply the full <a class="command-link"
+ href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.CodeFormatterPreferencePage)")'>
+ <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png"
+ alt="command link" />C/C++ &gt; Code Style &gt; Formatter
+ </a> 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>
@@ -97,7 +102,12 @@
<tr>
<td class="menu_name" headers="name">Surround With</td>
<td headers="function">Surround the selected statements with a
- code template</td>
+ code template (as defined in <a class="command-link"
+ href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.TemplatePreferencePage)")'>
+ <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png"
+ alt="command link" />C/C++ &gt; Editor &gt; Templates
+ </a>)
+ </td>
<td headers="keyboard">Alt+Shift+Z</td>
</tr>
</tbody>