2011-03-31 13:59:18 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2003-11-28 21:50:02 +00:00
< html lang = "en" >
< head >
2004-04-12 14:53:37 +00:00
< meta http-equiv = "Content-Language" content = "en-us" >
< meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" >
2007-04-19 10:25:16 +00:00
< title > Templates preferences< / title >
2004-04-12 14:53:37 +00:00
< link rel = "stylesheet" type = "text/css" href = "../help.css" >
2010-04-20 03:09:28 +00:00
< script language = "JavaScript" src = "PLUGINS_ROOT/org.eclipse.help/livehelp.js" > < / script >
2003-11-28 21:50:02 +00:00
< / head >
< body >
2012-09-19 17:16:24 -04:00
< div role = "main" > < h1 > Templates preferences< / h1 >
2004-04-12 14:53:37 +00:00
2011-03-31 13:59:18 +00:00
< p > Use the < img src = "../images/command_link.png" alt = "" > < a class = "command-link" href = 'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.TemplatePreferencePage)")' > Templates< / a > preference panel to manipulate any of the common templates predefined within CDT or create your own. To modify, delete, export,
2010-03-31 01:34:27 +00:00
import, or create your own templates click < strong > Window > Preferences > C/C++ > Templates< / strong > .< / p >
2010-04-20 03:09:28 +00:00
< p > < img src = "../images/code_templates.png" alt = "Templates Preferences" > < / p >
2007-04-19 10:25:16 +00:00
< table width = "600px" cellpadding = "5" cellspacing = "0" border = "1" >
2010-03-31 01:34:27 +00:00
< caption > < strong > Templates Preference Options< / strong > < / caption >
2007-04-19 10:25:16 +00:00
< colgroup >
< col width = "30%" valign = "top" >
< col width = "70%" valign = "top" >
< / colgroup >
2010-04-20 03:09:28 +00:00
< thead >
< tr >
2011-03-31 13:59:18 +00:00
< th id = "option" > < strong > Option< / strong > < / th >
< th id = "description" > < strong > Description< / strong > < / th >
2010-04-20 03:09:28 +00:00
< / tr >
< / thead >
2007-04-19 10:25:16 +00:00
< tbody >
< tr >
2011-03-31 13:59:18 +00:00
< td headers = "option" > < strong > New...< / strong > < / td >
< td headers = "description" > Opens the < strong > New Template< / strong > dialog to create a new template.< / td >
2007-04-19 10:25:16 +00:00
< / tr >
< tr >
2011-03-31 13:59:18 +00:00
< td headers = "option" > < strong > Edit...< / strong > < / td >
< td headers = "description" > Opens the < strong > Edit Template< / strong > dialog to edit the selected template.< / td >
2007-04-19 10:25:16 +00:00
< / tr >
< tr >
2011-03-31 13:59:18 +00:00
< td headers = "option" > < strong > Remove< / strong > < / td >
< td headers = "description" > Removes the selected templates from the list.< / td >
2007-04-19 10:25:16 +00:00
< / tr >
< tr >
2011-03-31 13:59:18 +00:00
< td headers = "option" > < strong > Restore Removed< / strong > < / td >
< td headers = "description" > Restores templates deleted by the last Remove action.< / td >
2007-04-19 10:25:16 +00:00
< / tr >
< tr >
2011-03-31 13:59:18 +00:00
< td headers = "option" > < strong > Revert to Default< / strong > < / td >
< td headers = "description" > Removes the last edits made to the selected template restoring it to it's unmodified state.< / td >
2007-04-19 10:25:16 +00:00
< / tr >
< tr >
2011-03-31 13:59:18 +00:00
< td headers = "option" > < strong > Import...< / strong > < / td >
< td headers = "description" > Imports a template.< / td >
2007-04-19 10:25:16 +00:00
< / tr >
< tr >
2011-03-31 13:59:18 +00:00
< td headers = "option" > < strong > Export...< / strong > < / td >
< td headers = "description" > Exports the selected templates.< / td >
2007-04-19 10:25:16 +00:00
< / tr >
< tr >
2011-03-31 13:59:18 +00:00
< td headers = "option" > < strong > Use code formatter< / strong > < / td >
< td headers = "description" > Enable to apply the currently selected code style to the template.< / td >
2007-04-19 10:25:16 +00:00
< / tr >
< / tbody >
< / table >
2003-11-28 21:50:02 +00:00
2011-03-31 13:59:18 +00:00
< p > < img src = "../images/ngconcepts.gif" ALT = "Related concepts" width = "143" height = "21" > < br >
2003-11-28 21:50:02 +00:00
< a href = "../concepts/cdt_o_code_entry.htm" > Coding aids< / a > < / p >
2011-03-31 13:59:18 +00:00
< p > < img src = "../images/ngtasks.gif" ALT = "Related tasks" width = "143" height = "21" >
2003-11-28 21:50:02 +00:00
< br >
< a href = "../tasks/cdt_t_cust_cpp_editor.htm" > Customizing the C/C++ editor< / a > < br >
< a href = "../tasks/cdt_o_con_assist.htm" > Working with Content Assist< / a > < / p >
2011-03-31 13:59:18 +00:00
< p > < img src = "../images/ngref.gif" ALT = "Related reference" width = "143" height = "21" >
2003-11-28 21:50:02 +00:00
< br >
< a href = "cdt_o_ceditor_pref.htm" > C/C++ editor preferences< / a > < / p >
2004-06-24 10:49:13 +00:00
< img src = "../images/ng00_04a.gif" ALT = "IBM Copyright Statement" >
2003-11-28 21:50:02 +00:00
2012-09-19 17:16:24 -04:00
< / div > < / body >
2003-11-28 21:50:02 +00:00
< / html >