core/com.nokia.carbide.cpp.doc.user/html/reference/wnd_pref_code_style.htm
author fturovic <frank.turovich@nokia.com>
Mon, 25 Jan 2010 10:09:23 -0600
branchRCL_2_4
changeset 810 125f1619c573
parent 804 baeb49a4a487
child 1225 a546534a48de
permissions -rw-r--r--
fixed broken links
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
804
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     2
<title>Code Styles preferences</title>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     3
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     4
</head>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     5
   <body>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     6
<h2>Code Styles preferences</h2>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     7
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     8
	  
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     9
	 <p>Carbide supports the use of code styles in projects via the C/C++  <img src="../images/command_link.png" alt="" width="16" height="12" border="0" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.cdt.ui.preferences.CodeFormatterPreferencePage)")'> Code Style</a> preference panel. Use a code style profile to set specific smart typing features, like indentation, tabs or spaces, and many more options. There are several preset code styles like GNU, while Carbide supplies these  profiles:</p>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    10
	 <ul>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    11
	   <li><b>Symbian OS</b> &#8212; settings are based on the <a href="http://developer.symbian.com/main/downloads/papers/coding_stds/2003-01_SyOSCodStn.pdf">Symbian OS C++ coding standards</a> PDF </li>
810
125f1619c573 fixed broken links
fturovic <frank.turovich@nokia.com>
parents: 804
diff changeset
    12
	   <li><b>S60</b> &#8212; settings are based on the <a href="http://www.forum.nokia.com/document/Cpp_Developers_Library/?content=GUID-232258EC-D3B4-4D72-B12B-FFC34F070B4B_GUID-0B6641F4-8393-40B0-96A1-8BF96CB41134.html">S60 Platform: C++ Coding Conventions</a></li>
804
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    13
   </ul>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    14
	 <p>Setting a code style sets it for the entire workspace. When a new file is created the currently selected code style rules are applied as you edit the file. You can apply a set of rules to a previously created source file by opening it in an editor view, then right-clicking and choosing <b>Source &gt; Format</b> (<span class="code">CTRL+SHIFT+F</span>). </p>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    15
	 <p align="center"><img src="images/wnd_pref_code_styles.png" width="627" height="544" /></p>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    16
	 <p align="center" class="figure">Figure 1 - Code Style preference panel </p>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    17
	 <h5>Related references	 </h5>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    18
	 <ul>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    19
       <li><a href="PLUGINS_ROOT/org.eclipse.cdt.doc.user/reference/cdt_u_c_code_style_pref.htm">Code Style preferences</a></li>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    20
       <li><a href="../tasks/code_style_workspace.htm">Setting the Workspace Code Style</a> </li>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    21
       <li><a href="../tasks/code_style_reformatting_sources.htm">Reformatting a Source File</a> </li>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    22
   </ul>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    23
	 <div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    24
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    25
   </body>
baeb49a4a487 BUG 10590 - updated link for coding preferences
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    26
   </html>
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    27