From 356f66ed01bbb546faccb84a54ced3977ae8cef7 Mon Sep 17 00:00:00 2001 From: Jesse Weinstein Date: Mon, 22 Apr 2013 14:35:33 -0400 Subject: [PATCH] Bug 403263 - Add link on Concepts/Templates page Change-Id: Ibab1ef72640a2f9a7d737c6ca76cac52577e3745 Reviewed-on: https://git.eclipse.org/r/12104 Reviewed-by: Sergey Prigogin IP-Clean: Sergey Prigogin Tested-by: Sergey Prigogin --- .../concepts/cdt_c_templates.htm | 82 +++++++++++-------- 1 file changed, 50 insertions(+), 32 deletions(-) mode change 100644 => 100755 doc/org.eclipse.cdt.doc.user/concepts/cdt_c_templates.htm diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_templates.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_templates.htm old mode 100644 new mode 100755 index a7fe1c6e8ca..ab72db5d9c6 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_templates.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_templates.htm @@ -1,48 +1,66 @@ - - + Templates + -
-

Templates

+
+

Templates

-

Templates are sections of code that occur frequently enough that you would like -to be able to insert them with a few keystrokes. -This function is known as Content Assist; the sections of code that are -inserted are known as templates. -

-

To input an existing Content Assist template into a file, such as one for an -if statement, type the initial character ("i" in this case), then press Ctrl+Space. -The templates that begin with that character appear. Double-click on a template to insert it into a file.

+

+ Templates are sections of code that occur frequently enough that you + would like to be able to insert them with a few keystrokes. This + function is known as Content Assist; the sections of + code that are inserted are known as templates. +

+

+ To insert an existing Content Assist template into a file, such as + one for an if statement, type the initial character + ("i" in this case), then press Ctrl+Space. + The templates that begin with that character appear. Double-click on + a template to insert it into a file. +

-

You can edit existing Code/Content Assist templates or create new ones. From the menu bar choose -Window > Preferences > C/C++ > Editor > Templates.

+

+ You can edit the existing Content Assist templates or create new + ones using the C/C++ + > Editor > Templates preference pane. +

-

Related concepts -
CDT Overview -

+

+ Related concepts
CDT Overview +

-

Related tasks -
Creating and editing templates -
Using templates -
Importing and exporting templates -

+

+ Related tasks
Creating and editing + templates
Using + templates
Importing + and exporting templates +

-

Related reference -
Edit menu -
Content Assist page -
Templates page -

+

+ Related reference
Edit + menu
Content + Assist page
Templates + page +

-

-Red Hat Copyright Statement
- IBM Copyright Statement -

-
+

+ Red Hat Copyright Statement
+ IBM Copyright Statement +

+
\ No newline at end of file