<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to NetBeans</title><link>https://sourceforge.net/p/opensaf/wiki/NetBeans/</link><description>Recent changes to NetBeans</description><atom:link href="https://sourceforge.net/p/opensaf/wiki/NetBeans/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 04 Apr 2014 12:57:15 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/opensaf/wiki/NetBeans/feed" rel="self" type="application/rss+xml"/><item><title>NetBeans modified by Anders Widell</title><link>https://sourceforge.net/p/opensaf/wiki/NetBeans/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anders Widell</dc:creator><pubDate>Fri, 04 Apr 2014 12:57:15 -0000</pubDate><guid>https://sourceforge.net8656b081043049928c58e74edf3a83469f6ad373</guid></item><item><title>NetBeans modified by Anders Widell</title><link>https://sourceforge.net/p/opensaf/wiki/NetBeans/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anders Widell</dc:creator><pubDate>Fri, 04 Apr 2014 12:36:00 -0000</pubDate><guid>https://sourceforge.net7eade5e0275e3c3542a55c9b467089c2cb86e8f9</guid></item><item><title>NetBeans modified by Anders Widell</title><link>https://sourceforge.net/p/opensaf/wiki/NetBeans/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anders Widell</dc:creator><pubDate>Fri, 04 Apr 2014 12:34:43 -0000</pubDate><guid>https://sourceforge.net70fd6dc7f94dd06dcfec1e96b81e7248cde3ada0</guid></item><item><title>NetBeans modified by Anders Widell</title><link>https://sourceforge.net/p/opensaf/wiki/NetBeans/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here you will find instructions for how to set up the Google C++ code style in Netbeans.&lt;/p&gt;
&lt;h2 id="step-by-step-instructions"&gt;Step-by-step instructions&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;1)&lt;/strong&gt; Open the Options dialog in Netbeans:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Options" src="./attachment/Options.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2)&lt;/strong&gt; Select the &lt;em&gt;Editor-&amp;gt;On Save&lt;/em&gt; category and change the &lt;em&gt;Trailing Whitespace From:&lt;/em&gt; setting to &lt;em&gt;Modified Lines Only&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Trailing Whitespace" src="./attachment/TrailingWhitespace.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3)&lt;/strong&gt; Select the &lt;em&gt;Editor-&amp;gt;Formatting&lt;/em&gt; category, change &lt;em&gt;Language:&lt;/em&gt; to C, and change the &lt;em&gt;Style:&lt;/em&gt; setting to &lt;em&gt;Linux&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Linux" src="./attachment/Linux.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4)&lt;/strong&gt; On the same page, change &lt;em&gt;Language:&lt;/em&gt; to C++, and click the &lt;em&gt;Manage&lt;/em&gt; button:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Manage" src="./attachment/Manage.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5)&lt;/strong&gt; In the new window named "Manage Styles" that popped up, select &lt;em&gt;NetBeans&lt;/em&gt; and click &lt;em&gt;Duplicate&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Duplicate" src="./attachment/Duplicate.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;6)&lt;/strong&gt; In the new window named "Style Name" that popped up, write "OpenSAF" in the &lt;em&gt;Name:&lt;/em&gt; field, and then press the &lt;em&gt;OK&lt;/em&gt; button:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Style Name" src="./attachment/StyleName.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;7)&lt;/strong&gt; In "Options" window, change the &lt;em&gt;Style:&lt;/em&gt; setting to &lt;em&gt;OpenSAF&lt;/em&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="OpenSAF Style" src="./attachment/SelectOpenSAF.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;8)&lt;/strong&gt; Check the &lt;em&gt;Override Global Options&lt;/em&gt; check box:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Override Global Options" src="./attachment/OverrideGlobalOptions.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;9)&lt;/strong&gt; Change &lt;em&gt;Indent Size&lt;/em&gt; to 2, &lt;em&gt;Statement Continuation&lt;/em&gt; to 4, and &lt;em&gt;Constructor Continuation&lt;/em&gt; to 4:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Indent Size" src="./attachment/IndentSize.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;10)&lt;/strong&gt; Change &lt;em&gt;Indent Namespaces&lt;/em&gt; to false, &lt;em&gt;Absolute Label Indentation&lt;/em&gt; to false, and &lt;em&gt;Indent Visibility&lt;/em&gt; to Half Indent:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Indent Namespaces" src="./attachment/IndentNamespaces.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;11)&lt;/strong&gt; Change &lt;em&gt;Ignore Empty Functions&lt;/em&gt; to true:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Ignore Empty Functions" src="./attachment/IgnoreEmptyFunctions.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;12)&lt;/strong&gt; Change all &lt;em&gt;Multiline Alignment&lt;/em&gt; check boxes to true:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Multiline Alignment" src="./attachment/MultilineAlignment.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;13)&lt;/strong&gt; Change &lt;em&gt;Language:&lt;/em&gt; to C/C++ Header, and repeat steps &lt;strong&gt;4)&lt;/strong&gt; to &lt;strong&gt;12)&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="C/C++ Header" src="./attachment/Header.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;14)&lt;/strong&gt; Click the &lt;em&gt;OK&lt;/em&gt; button in the "Options" window:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Options OK" src="./attachment/OptionsOk.png" /&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anders Widell</dc:creator><pubDate>Fri, 04 Apr 2014 12:33:35 -0000</pubDate><guid>https://sourceforge.net463674062fbe6506f0f75cea81f66c9ef8e540da</guid></item></channel></rss>