<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.submain.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How To</title><link>http://community.submain.com/blogs/howto/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.2)</generator><item><title>How to submit CodeIt.Right Log file to SubMain support</title><link>http://community.submain.com/blogs/howto/archive/2008/06/21/how-to-submit-codeit-right-log-file-to-submain-support.aspx</link><pubDate>Sun, 22 Jun 2008 05:43:00 GMT</pubDate><guid isPermaLink="false">e6092f25-edd1-48d7-b80f-8bdb13d630d6:560</guid><dc:creator>Serge B.</dc:creator><slash:comments>0</slash:comments><comments>http://community.submain.com/blogs/howto/comments/560.aspx</comments><wfw:commentRss>http://community.submain.com/blogs/howto/commentrss.aspx?PostID=560</wfw:commentRss><description>&lt;p&gt;CodeIt.Right Log file contains detailed debug information that allows us to troubleshoot most every issue on you experience with the product.&lt;/p&gt;
&lt;p&gt;These are the steps to email the log file to us:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open Visual Studio &lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;In the menu bar, click &lt;strong&gt;CodeIt.Right&lt;/strong&gt;, then click &lt;strong&gt;Help &amp;amp; Support&lt;/strong&gt;, and then click &lt;strong&gt;Email Log File&lt;br /&gt;&lt;br /&gt;&lt;img border="0" src="http://community.submain.com/photos/howto/images/559/original.aspx" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;Attach file from the location in the email body - in the screenshot above is &amp;quot;&lt;span style="background-color:#ffff99;"&gt;C:\Users\sergeb\Documents\SubMain\CodeIt.Right for VS2008\CodeIt.Right.log&lt;/span&gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click &lt;strong&gt;Send&lt;/strong&gt; to email the attached file to us.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;&lt;img src="http://community.submain.com/aggbug.aspx?PostID=560" width="1" height="1"&gt;</description></item><item><title>How to add rule to User Profile</title><link>http://community.submain.com/blogs/howto/archive/2008/01/24/how-to-add-rule-to-user-profile.aspx</link><pubDate>Thu, 24 Jan 2008 10:15:00 GMT</pubDate><guid isPermaLink="false">e6092f25-edd1-48d7-b80f-8bdb13d630d6:407</guid><dc:creator>Serge B.</dc:creator><slash:comments>2</slash:comments><comments>http://community.submain.com/blogs/howto/comments/407.aspx</comments><wfw:commentRss>http://community.submain.com/blogs/howto/commentrss.aspx?PostID=407</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://community.submain.com/photos/howto/images/418/original.aspx" target="_blank"&gt;&lt;/a&gt;&lt;a href="http://community.submain.com/photos/howto/images/418/original.aspx" target="_blank"&gt;&lt;/a&gt;Some of the rules included with &lt;a href="http://submain.com/codeit.right"&gt;CodeIt.Right&lt;/a&gt; are not part of the built-in profile as are not part of the Microsoft Guidelines and yet they often come very handy especially when you choose to use a standard other than recommended by Microsoft.&lt;/p&gt;&lt;p&gt;This post covers step-by-step how to add a rule to custom user profile.&amp;nbsp;In this&amp;nbsp;walk-through we will add rule &amp;quot;&lt;em&gt;Replace identifier prefix&lt;/em&gt;&amp;quot; (ReplaceIdentifierPrefix) [&lt;strong&gt;Naming&lt;/strong&gt;] and configure it to replace the old style &amp;quot;m_&amp;quot; variable prefix with the new .NET style &amp;quot;_&amp;quot; (underscore). This is very convenient when move existing old style project to the .NET naming conventions.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Open &lt;em&gt;Profile Editor&lt;br /&gt;&lt;/em&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Make sure you are not using built-in profile -&amp;gt; see &lt;a href="http://community.submain.com/blogs/howto/archive/2008/01/24/how-to-create-own-profile.aspx"&gt;How to create own Profile&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click the&amp;nbsp;&lt;em&gt;Add Rule&lt;/em&gt;&amp;nbsp;toolbar button&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="159" src="http://community.submain.com/photos/howto/images/414/original.aspx" width="661" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Find and select the &amp;quot;&lt;em&gt;Replace identifier prefix&lt;/em&gt;&amp;quot; in the list and click &lt;em&gt;OK&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="544" src="http://community.submain.com/photos/howto/images/415/original.aspx" width="639" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Enter name for the new rule (we will use &amp;quot;&lt;em&gt;Replace &amp;quot;m_&amp;quot; with &amp;quot;_&amp;quot; is&amp;quot;&lt;/em&gt;), set &lt;em&gt;PrefixToCheck&lt;/em&gt; parameter to &amp;quot;m_&amp;quot; and &lt;em&gt;PrefixToReplace&lt;/em&gt; to &amp;quot;_&amp;quot;, choose &lt;em&gt;Targets&lt;/em&gt; (using only the targets that are applicable to the rule allows for better analysis performance) and click &lt;em&gt;Save&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://community.submain.com/photos/howto/images/416/original.aspx" target="_blank"&gt;&lt;img border="0" height="480" src="http://community.submain.com/photos/howto/images/416/569x480.aspx" width="569" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;New rule &amp;quot;&lt;em&gt;Replace &amp;quot;m_&amp;quot; with &amp;quot;_&amp;quot; is&lt;/em&gt;&amp;quot; is part of your profile now.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://community.submain.com/photos/howto/images/418/original.aspx" target="_blank"&gt;&lt;/a&gt;&lt;a href="http://community.submain.com/photos/howto/images/418/original.aspx" target="_blank"&gt;&lt;img border="0" height="480" src="http://community.submain.com/photos/howto/images/418/569x480.aspx" width="569" /&gt;&lt;/a&gt;&lt;a href="http://community.submain.com/photos/howto/images/418/original.aspx" target="_blank"&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://community.submain.com/aggbug.aspx?PostID=407" width="1" height="1"&gt;</description><category domain="http://community.submain.com/blogs/howto/archive/tags/Profiles/default.aspx">Profiles</category><category domain="http://community.submain.com/blogs/howto/archive/tags/Howto/default.aspx">Howto</category><category domain="http://community.submain.com/blogs/howto/archive/tags/Rules/default.aspx">Rules</category><category domain="http://community.submain.com/blogs/howto/archive/tags/CodeIt.Right/default.aspx">CodeIt.Right</category></item><item><title>How to create own Profile</title><link>http://community.submain.com/blogs/howto/archive/2008/01/24/how-to-create-own-profile.aspx</link><pubDate>Thu, 24 Jan 2008 08:45:00 GMT</pubDate><guid isPermaLink="false">e6092f25-edd1-48d7-b80f-8bdb13d630d6:413</guid><dc:creator>Serge B.</dc:creator><slash:comments>0</slash:comments><comments>http://community.submain.com/blogs/howto/comments/413.aspx</comments><wfw:commentRss>http://community.submain.com/blogs/howto/commentrss.aspx?PostID=413</wfw:commentRss><description>&lt;p&gt;When you try to edit the built-in Microsoft Guidelines profile in &lt;a href="http://submain.com/codeit.right"&gt;CodeIt.Right&lt;/a&gt; you will get a message saying that profile is not modifiable. If you want to customize CodeIt.Right profile, you need to create your own profile first. This can be done by cloning existing profile or creating your own from scratch.&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Cloning existing profile&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;To clone existing profile you need&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Open &lt;em&gt;Profile Editor&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;a href="http://community.submain.com/photos/howto/images/408/original.aspx" target="_blank"&gt;&lt;strong&gt;&lt;img border="0" height="192" src="http://community.submain.com/photos/howto/images/408/original.aspx" width="396" /&gt;&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click the &lt;em&gt;Save As&lt;/em&gt; toolbar button&lt;br /&gt;&lt;br /&gt;&lt;a href="http://community.submain.com/photos/howto/picture409.aspx" target="_blank"&gt;&lt;/a&gt;&lt;a href="http://community.submain.com/photos/howto/images/409/original.aspx" target="_blank"&gt;&lt;img border="0" height="136" src="http://community.submain.com/photos/howto/images/409/640x136.aspx" width="640" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Enter name and (optional) description for your profile&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="313" src="http://community.submain.com/photos/howto/images/410/original.aspx" width="372" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Newly created profile is opened in &lt;em&gt;Profile Editor&lt;/em&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;Creating new&amp;nbsp;profile&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;To&amp;nbsp;create&amp;nbsp;new profile from scratch you need&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Open &lt;em&gt;Profile Editor&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;img border="0" height="192" src="http://community.submain.com/photos/howto/images/408/original.aspx" width="396" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click the&amp;nbsp;&lt;em&gt;New&lt;/em&gt; toolbar button&lt;br /&gt;&lt;br /&gt;&lt;a href="http://community.submain.com/photos/howto/images/411/original.aspx" target="_blank"&gt;&lt;img border="0" height="139" src="http://community.submain.com/photos/howto/images/411/640x139.aspx" width="640" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Enter name, (optional) description for your profile. Then choose &lt;em&gt;Base Profile&lt;/em&gt; to copy rules from (select Blank if you want to start your profile from scratch)&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="313" src="http://community.submain.com/photos/howto/images/412/original.aspx" width="372" /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Newly created profile is opened in &lt;em&gt;Profile Editor&lt;/em&gt;&lt;/li&gt;&lt;/ol&gt;&lt;img src="http://community.submain.com/aggbug.aspx?PostID=413" width="1" height="1"&gt;</description><category domain="http://community.submain.com/blogs/howto/archive/tags/Profiles/default.aspx">Profiles</category><category domain="http://community.submain.com/blogs/howto/archive/tags/Howto/default.aspx">Howto</category><category domain="http://community.submain.com/blogs/howto/archive/tags/CodeIt.Right/default.aspx">CodeIt.Right</category></item></channel></rss>