<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pearl Tech &#187; ThadK</title>
	<atom:link href="http://blog.pearltechnology.com/author/thadk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pearltechnology.com</link>
	<description></description>
	<lastBuildDate>Tue, 25 May 2010 14:37:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Easy Access to Code Snippets with CodeKeep</title>
		<link>http://blog.pearltechnology.com/easy-access-to-code-snippets-with-codekeep/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.pearltechnology.com/easy-access-to-code-snippets-with-codekeep/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 19:37:34 +0000</pubDate>
		<dc:creator>ThadK</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.pearltechnology.com/?p=554</guid>
		<description><![CDATA[Code Keep is an easy way to manage and browse code snippets.]]></description>
			<content:encoded><![CDATA[<p>Remembering exact syntax seems to be a common issue for programmers.  We tend to rely on Google or previous projects for a quick example to get us on the right path.  Whether it’s a one line regular expression or an entire method, programmers are frequently looking at code samples.</p>
<p>Visual Studio has built in support for snippets, but some of the functionality is limited.  For a while, I have kept simple methods and queries stored in files on my computer for quick access.  I have found a simple solution for Visual Studio, as well as online for quickly accessing, storing and sharing routinely used snippets of code that will replace my old ways of storing snippets.</p>
<p>&lt;code:keep&gt; (<a href="http://www.codekeep.net/" target="_blank">www.CodeKeep.net</a>) allows users to store and easily retrieve code snippets in many common programming languages.  At the time of this posting, there are currently 28 languages that you can store, share, and search.  There are two easy ways of adding and viewing your snippets.  First, is on their website.  The website allows you to not only view and manager your snippets, but it also lets you look through snippets other have chosen to share &#8211; when adding snippets, you have the ability to make your snippets private or public.  The other way to access snippets is through a Visual Studio add-in (available in for both Visual Studio 2005 and 2008).  Both options will let you store, browse, and search for code snippets.</p>
<p><strong>Installation instructions</strong></p>
<p>When installing, I recommend setting up an online account first.  This will make the installation flow a little more smoothly.  <em>Make sure to have Visual Studio closed for the installation.</em> Once you have an account setup, download and run the MSI to install CodeKeep.  Make sure the read the ReadMe file.  After installing the application, you will also need to copy three files into the Addins directory in you default project folder.</p>
<p>Once installed, the add-in is available through the Tools Menu<br />
<img src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/codekeep_tools.jpg" alt="Code Keep Tools Menu" /><br />
Because this is an online service, the snippets are not stored on your computer by default.   However, the website does allow users to export their snippets.  Whether you want to take them on the go, or simply back them up, browse to “My Snippets” and click Export Snippets.  All of your snippets can be saved to an XML file.<br />
<img src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/codekeep_export.jpg" alt="Code Keep Export" /><br />
<em><br />
Note:  While using the add-in, I have hit a few bugs that will crash Visual Studio.   Upon restarting VS, I get an error “Object reference not set to an instance of an object”.  To get rid of this, I had run the MSI again and  repair the installation. </em><br />
<img src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/codekeep_error.jpg" alt="Code Keep Error" /><br />
<em>This also required me to log into my account again.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pearltechnology.com/easy-access-to-code-snippets-with-codekeep/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
