<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.submain.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">How To</title><subtitle type="html" /><id>http://community.submain.com/blogs/howto/atom.aspx</id><link rel="alternate" type="text/html" href="http://community.submain.com/blogs/howto/default.aspx" /><link rel="self" type="application/atom+xml" href="http://community.submain.com/blogs/howto/atom.aspx" /><generator uri="http://communityserver.org" version="2.1.61129.2">Community Server</generator><updated>2008-01-24T00:45:00Z</updated><entry><title>How to submit CodeIt.Right Log file to SubMain support</title><link rel="alternate" type="text/html" href="http://community.submain.com/blogs/howto/archive/2008/06/21/how-to-submit-codeit-right-log-file-to-submain-support.aspx" /><id>http://community.submain.com/blogs/howto/archive/2008/06/21/how-to-submit-codeit-right-log-file-to-submain-support.aspx</id><published>2008-06-22T05:43:00Z</published><updated>2008-06-22T05:43:00Z</updated><content type="html">&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;</content><author><name>sergeb</name><uri>http://community.submain.com/members/sergeb.aspx</uri></author></entry><entry><title>How to add rule to User Profile</title><link rel="alternate" type="text/html" href="http://community.submain.com/blogs/howto/archive/2008/01/24/how-to-add-rule-to-user-profile.aspx" /><id>http://community.submain.com/blogs/howto/archive/2008/01/24/how-to-add-rule-to-user-profile.aspx</id><published>2008-01-24T10:15:00Z</published><updated>2008-01-24T10:15:00Z</updated><content type="html">&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;</content><author><name>sergeb</name><uri>http://community.submain.com/members/sergeb.aspx</uri></author><category term="Profiles" scheme="http://community.submain.com/blogs/howto/archive/tags/Profiles/default.aspx" /><category term="Howto" scheme="http://community.submain.com/blogs/howto/archive/tags/Howto/default.aspx" /><category term="Rules" scheme="http://community.submain.com/blogs/howto/archive/tags/Rules/default.aspx" /><category term="CodeIt.Right" scheme="http://community.submain.com/blogs/howto/archive/tags/CodeIt.Right/default.aspx" /></entry><entry><title>How to create own Profile</title><link rel="alternate" type="text/html" href="http://community.submain.com/blogs/howto/archive/2008/01/24/how-to-create-own-profile.aspx" /><id>http://community.submain.com/blogs/howto/archive/2008/01/24/how-to-create-own-profile.aspx</id><published>2008-01-24T08:45:00Z</published><updated>2008-01-24T08:45:00Z</updated><content type="html">&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;</content><author><name>sergeb</name><uri>http://community.submain.com/members/sergeb.aspx</uri></author><category term="Profiles" scheme="http://community.submain.com/blogs/howto/archive/tags/Profiles/default.aspx" /><category term="Howto" scheme="http://community.submain.com/blogs/howto/archive/tags/Howto/default.aspx" /><category term="CodeIt.Right" scheme="http://community.submain.com/blogs/howto/archive/tags/CodeIt.Right/default.aspx" /></entry></feed>