Skip to main content
summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gvozdev2015-01-07 17:03:15 -0500
committerAndrew Gvozdev2015-01-08 08:58:55 -0500
commit322e0de5cae9077a86ddb4c2828aa4f01f513e11 (patch)
treee24508f9256a1be4dfecc6187a111d31b05ac4af /doc
parent105fa978e7934a13559aeb576314e44868a18c14 (diff)
downloadorg.eclipse.cdt-322e0de5cae9077a86ddb4c2828aa4f01f513e11.tar.gz
org.eclipse.cdt-322e0de5cae9077a86ddb4c2828aa4f01f513e11.tar.xz
org.eclipse.cdt-322e0de5cae9077a86ddb4c2828aa4f01f513e11.zip
Bug 449605: Comment Code Aids doesn't refer to correct location for
Templates
Diffstat (limited to 'doc')
-rw-r--r--doc/org.eclipse.cdt.doc.user/concepts/cdt_c_comments.htm6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_comments.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_comments.htm
index 96a4562925..a2ed2d9bf1 100644
--- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_comments.htm
+++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_comments.htm
@@ -32,7 +32,9 @@ already commented out, are not affected when you comment and uncomment code.</p>
<h2>Multiline comment</h2>
<p>You can use the Content Assist feature to insert a multi-line comment before a function.
-Type <span class="typewriter">com+Ctrl+Space</span>, and the following code is entered at the cursor location:
+In the C++ editor, type <span class="typewriter">com</span> then press <strong>Ctrl+Space</strong>.
+Select <span class="typewriter">default multiline comment</span> template and press <strong>Enter</strong>.
+The following code is entered at the cursor location:
<br><pre>
/*
* author userid
@@ -42,7 +44,7 @@ Type <span class="typewriter">com+Ctrl+Space</span>, and the following code is e
*/
</pre>
- To change the default comment click <strong>Window > Preferences > C > Templates</strong>. For more information see the
+ To change the default comment click <strong>Window > Preferences > C/C++ > Code Style > Code Templates</strong>. For more information see the
<a href="cdt_c_content_assist.htm">Content Assist</a> section.
<p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">

Back to the top