<?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>thecrumb.com &#187; ide</title>
	<atom:link href="http://thecrumb.com/tag/ide/feed/" rel="self" type="application/rss+xml" />
	<link>http://thecrumb.com</link>
	<description>developer &#124; thinker &#124; tinkerer</description>
	<lastBuildDate>Sat, 04 Feb 2012 01:28:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Projects In Sublime Text 2</title>
		<link>http://thecrumb.com/2012/01/24/projects-in-sublime-text-2/</link>
		<comments>http://thecrumb.com/2012/01/24/projects-in-sublime-text-2/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 14:50:14 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1806</guid>
		<description><![CDATA[In the past I&#8217;ve always been working on just one project so I have never explored &#8216;projects&#8217; in Sublime Text 2. Today I needed to work on multiple things so I broke down and discovered how projects work. Like everything &#8230; <a href="http://thecrumb.com/2012/01/24/projects-in-sublime-text-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the past I&#8217;ve always been working on just one project so I have never explored &#8216;projects&#8217; in Sublime Text 2.  </p>
<p>Today I needed to work on multiple things so I broke down and discovered how projects work. Like everything else in Sublime they are very simple, and offer a lot of flexibility.<br />
<span id="more-1806"></span><br />
Step one is to create a new project. You do that by simply adding a folder.  </p>
<p><em>Project > Add Folder to Project&#8230;</em></p>
<p>Your project files and folders should now be displayed in the sidebar.</p>
<p>Now save your project.  </p>
<p><em>Project > Save Project As&#8230;</em></p>
<p>This will create two files:</p>
<ol>
<li>your_project.sublime-project</li>
<li>your_project.sublime-workspace</li>
</ol>
<p>From the Sublime Text 2 documentation:</p>
<blockquote><p>
Projects in Sublime Text 2 are made up of two files: the sublime-project file, which contains the project definition, and the sublime-workspace file, which contains user specific data, such as the open files and the modifications to each.</p>
<p>As a general rule, the sublime-project file would be checked into version control, while the sublime-workspace file would not.
</p></blockquote>
<p>The sublime-project file allows you to make project specific configurations to Sublime. You define multiple folder paths as well as specify folders and files you want to <em>exclude</em> from view.  You can also define per project Settings for Sublime:</p>
<pre class="brush: plain; title: ; notranslate">
{
    &quot;folders&quot;:
    [
        {
            &quot;path&quot;: &quot;wwwroot&quot;,
            &quot;folder_exclude_patterns&quot;: [&quot;images&quot;]
        },
        {
            &quot;path&quot;: &quot;c:\wwwroot\project1\assets&quot;,
            &quot;name&quot;: &quot;Project 1&quot;,
            &quot;file_exclude_patterns&quot;: [&quot;*.php&quot;]
        }
    ],
    &quot;settings&quot;:
    {
        &quot;tab_size&quot;: 8
    }
 }
</pre>
<p>Here we&#8217;re defining two folders. The &#8216;name&#8217; attribute will define the name that is displayed in the Sublime sidebar for this folder. This is helpful if you have a long path or folder name and want a more descriptive label.</p>
<p>Once you have multiple projects setup, you can easily switch between them by hitting <strong>CTRL+ALT+P</strong>.  That will bring up a dialog of all defined projects. You can either click on the project or start typing a project name to apply a filter.</p>
<p>I&#8217;m still learning how best to use projects but I like the flexibility of defining multiple folders and being able to specify the path. I&#8217;m working on a project now with many deeply nested subfolders and can simply map to a specific directory instead of having to click down through several folders. </p>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2012/01/24/projects-in-sublime-text-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sublime Text 2 &#8211; Format SQL</title>
		<link>http://thecrumb.com/2012/01/23/sublime-text-2-format-sql/</link>
		<comments>http://thecrumb.com/2012/01/23/sublime-text-2-format-sql/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 14:54:59 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1802</guid>
		<description><![CDATA[I&#8217;ve posted before about formatting SQL in my IDE. I always inherit code where the previous developer formats their SQL different than I like. Currently I&#8217;m suffering from ALL CAPS SQL. My eyes! My eyes! I immediately hit Package Control &#8230; <a href="http://thecrumb.com/2012/01/23/sublime-text-2-format-sql/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve posted before about formatting SQL in my IDE.  I always inherit code where the previous developer formats their SQL different than I like.  Currently I&#8217;m suffering from ALL CAPS SQL.</p>
<pre class="brush: plain; title: ; notranslate">
SELECT INT_SUB_ID FROM INT_SUBCATEGORY WHERE INT_CAT_ID = 123
</pre>
<p>My eyes! My eyes!</p>
<p>I immediately hit Package Control in Sublime and sure enough there is a SQL package: <a href="https://github.com/freewizard/SublimeFormatSQL">Format SQL</a>.</p>
<p>After installing (and restarting Sublime) you have a new option under Selection. <em>Format > Format SQL Statement</em>.</p>
<p>This got the indention correct but I was looking for some case changes:</p>
<pre class="brush: plain; title: ; notranslate">
SELECT INT_SUB_ID
FROM INT_SUBCATEGORY
WHERE INT_CAT_ID = 123
</pre>
<p>Looking at the python-sqlparse library documentation there are some statements to change case for keywords and identifiers.  So I cracked open <em>\Sublime Text 2\Packages\Format SQL\FormatSQL.py</em> and found this line:</p>
<pre class="brush: plain; title: ; notranslate">
return sqlparse.format(s, keyword_case=&quot;upper&quot;, reindent=True, indent_width=indent_size)
</pre>
<p>And modified it like so:</p>
<pre class="brush: plain; title: ; notranslate">
return sqlparse.format(s, keyword_case=&quot;upper&quot;, identifier_case=&quot;lower&quot;, reindent=True, indent_width=indent_size)
</pre>
<p>And now I get:</p>
<pre class="brush: plain; title: ; notranslate">
SELECT int_sub_id
FROM int_subcategory
WHERE int_cat_id = 123
</pre>
<p>Done!</p>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2012/01/23/sublime-text-2-format-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TODO Support In Sublime Text</title>
		<link>http://thecrumb.com/2012/01/10/todo-support-in-sublime-text/</link>
		<comments>http://thecrumb.com/2012/01/10/todo-support-in-sublime-text/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 20:25:57 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1775</guid>
		<description><![CDATA[One of the big things I was missing from Eclipse was TODO support in Sublime Text. Now thanks to the awesome community of plugin authors this has been resolved. Check out SublimeTODO. Extract TODO-type comments from open files and project &#8230; <a href="http://thecrumb.com/2012/01/10/todo-support-in-sublime-text/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the big things I was missing from Eclipse was TODO support in Sublime Text. </p>
<p>Now thanks to the awesome community of plugin authors this has been resolved.  Check out <a href="https://github.com/robcowie/SublimeTODO" title="SublimeTODO">SublimeTODO</a>.  </p>
<blockquote><p>Extract TODO-type comments from open files and project folders</p></blockquote>
<p><span id="more-1775"></span><br />
Installation is easy via <a href="http://thecrumb.com/2011/10/21/easier-sublime-package-installation/">Package Manager</a> just look for &#8216;SublimeTODO&#8217;.  </p>
<p>&#8220;TODO&#8221;, &#8220;FIXME&#8221; and &#8220;CHANGED&#8221; are supported out of the box (and you can add your own). </p>
<p>To view your todo&#8217;s hit CTRL+SHIFT+P (on Windows) and enter &#8220;TODO&#8221;.  &#8220;Show TODOs in project and open files&#8221; will popup (you could also map this to a keyboard shortcut).  Hit ENTER. </p>
<p>A new tab will popup with your TODOs:</p>
<pre class="brush: plain; title: ; notranslate">
+ ---------------------------------------------------------------------------- +
| TODOS @ Tuesday 10 January 2012 20:20                                        |
| 1037 files scanned                                                           |
+ ---------------------------------------------------------------------------- +

## NOTE (4)
1. dsp_foiaform.cfm:267  Strip out any delimiters (spaces, hyphens, etc.)
2. dsp_foiaform.cfm:336  The first argument after TARGETSTRING must be a string.
3. dsp_view.cfm:89 &lt;/span&gt; #trim(PROSECUTION_DETAILS.DETAIL)#&lt;/td&gt;
4. docket_security.cfm:262  ValueList function adds a decimal point. It is CF bug 53488, 

## TODO (1)
1. cfping.cfm:0  This needs to be fixed ---&gt;
</pre>
<p>The only thing lacking is there is no easy way to go directly to your TODO though there is a <a href="https://github.com/robcowie/SublimeTODO/issues/5">ticket</a> open on github to add this support. </p>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2012/01/10/todo-support-in-sublime-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sublime Text &#8211; Quick Indicator for Tabs vs. Spaces</title>
		<link>http://thecrumb.com/2011/12/06/sublime-text-quick-indicator-for-tabs-vs-spaces/</link>
		<comments>http://thecrumb.com/2011/12/06/sublime-text-quick-indicator-for-tabs-vs-spaces/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 20:41:47 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1738</guid>
		<description><![CDATA[I was running through some code today in JSHint and it was complaining about &#8220;Mixed spaces and tabs.&#8221; What? I always use tabs so I was curious where the spaces where&#8230; Sure enough on looking there were spaces! Doh. Then &#8230; <a href="http://thecrumb.com/2011/12/06/sublime-text-quick-indicator-for-tabs-vs-spaces/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was running through some code today in JSHint and it was complaining about &#8220;Mixed spaces and tabs.&#8221;</p>
<p>What?  I always use tabs so I was curious where the spaces where&#8230;  Sure enough on looking there were spaces! Doh.</p>
<p>Then I noticed something in Sublime:</p>
<div id="attachment_1739" class="wp-caption aligncenter" style="width: 571px"><a href="http://thecrumb.com/wp-content/uploads/2011/12/tabspace.gif"><img src="http://thecrumb.com/wp-content/uploads/2011/12/tabspace.gif" alt="" title="tabspace" width="561" height="170" class="size-full wp-image-1739" /></a><p class="wp-caption-text">Sublime - Tabs and Spaces</p></div>
<p>Do you see it? </p>
<p>Before &#8216;displayStipulator&#8217; there is &#8216;&#8230;.&#8212;-&#8217; and before &#8216;doChanged&#8217; it&#8217;s &#8216;&#8212;-&#8230;.&#8217;.  When selecting text in Sublime the tabs &#8216;&#8212;-&#8217; and spaces &#8216;&#8230;.&#8217; are highlighted for you!  </p>
<p>Now that I know this is there I&#8217;ll be more aware and cleanup spaces when I see them!</p>
<p><strong>Update</strong>: Digging through the preferences, there is an option for this:</p>
<pre class="brush: plain; title: ; notranslate">
// Set to &quot;none&quot; to turn off drawing white space, &quot;selection&quot; to draw only the
// white space within the selection, and &quot;all&quot; to draw all white space
&quot;draw_white_space&quot;: &quot;all&quot;,
</pre>
<p>Also note you can easily convert from one to the other via <em>View > Indentation > Convert</em>&#8230; </p>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2011/12/06/sublime-text-quick-indicator-for-tabs-vs-spaces/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sublime Text &#8211; Filtering Out The Noise</title>
		<link>http://thecrumb.com/2011/11/17/sublime-text-filtering-out-the-noise/</link>
		<comments>http://thecrumb.com/2011/11/17/sublime-text-filtering-out-the-noise/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 14:07:17 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1708</guid>
		<description><![CDATA[One of the biggest things I miss in Sublime Text is Mylyn and it&#8217;s ability to just show me the files I&#8217;m working on. We can exclude unrelated folders and files from showing up in the sidebar which helps a &#8230; <a href="http://thecrumb.com/2011/11/17/sublime-text-filtering-out-the-noise/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the biggest things I miss in Sublime Text is Mylyn and it&#8217;s ability to just show me the files I&#8217;m working on.</p>
<p>We can exclude unrelated folders and files from showing up in the sidebar which helps a little bit.   I don&#8217;t need to be distracted with PDF and image files while coding.<br />
<span id="more-1708"></span><br />
You can either do this globally <em>Preferences > Global Settings > User</em> or what I like to do is add it to my project config since there are usually specific things in each project I want to filter out.</p>
<p>Within my project directory I have a file called <em>myprojectname.sublime-project</em>.  I can simply add two filters: <em>folder_exclude_patterns</em> and <em>file_exclude_patterns</em>, and add directories and files that I no longer want to see:</p>
<pre class="brush: plain; title: ; notranslate">
{
	&quot;folders&quot;:
	[
		{
		&quot;path&quot;: &quot;/Z/myprojectname&quot;,
		&quot;folder_exclude_patterns&quot;: [&quot;_deploy&quot;, &quot;SpryAssets&quot;, &quot;SpryPaging&quot;, &quot;wireframe&quot;],
		&quot;file_exclude_patterns&quot;: [&quot;*.pdf&quot;, &quot;*.jpg&quot;, &quot;*.png&quot;]
		}
	]
}
</pre>
<p>This will also hide those files and folders from the &#8216;quick find&#8217; (CTRL+P) which is nice as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2011/11/17/sublime-text-filtering-out-the-noise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy Access To Terminal in Sublime Text</title>
		<link>http://thecrumb.com/2011/11/11/easy-access-to-terminal-in-sublime/</link>
		<comments>http://thecrumb.com/2011/11/11/easy-access-to-terminal-in-sublime/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 19:49:57 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1704</guid>
		<description><![CDATA[Do you use the terminal/console? You can easily access this from within Sublime for kicking off scripts, etc. You should have Package Control installed. Open Package Control and install &#8220;Terminal&#8220;. Done. Now hit CTRL+SHIFT+T and a console will popup. I &#8230; <a href="http://thecrumb.com/2011/11/11/easy-access-to-terminal-in-sublime/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Do you use the terminal/console?  You can easily access this from within Sublime for kicking off scripts, etc.</p>
<p>You should have Package Control installed.  Open Package Control and install &#8220;<a href="http://wbond.net/sublime_packages/terminal" title="Sublime Terminal">Terminal</a>&#8220;.</p>
<p>Done. Now hit CTRL+SHIFT+T and a console will popup. </p>
<p>I can&#8217;t stand the Windows Terminal (spoiled by terminal in Linux!) and have been using another app: <a href="http://sourceforge.net/projects/console/" title="Console 2">Console 2</a>.</p>
<blockquote><p>Console is a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles.</p></blockquote>
<p>It&#8217;s easy to tweak Sublime to open Console instead of Powershell (which it defaults to).  </p>
<blockquote><p>Preferences > Package Settings > Terminal > Settings &#8211; User</p></blockquote>
<p>Adjust your paths accordingly.</p>
<pre class="brush: plain; title: ; notranslate">
{
&quot;terminal&quot;: &quot;C:/Program Files/Console2/Console.exe&quot;,
&quot;parameters&quot;: []
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2011/11/11/easy-access-to-terminal-in-sublime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Sublime Text When Things Go Bad</title>
		<link>http://thecrumb.com/2011/11/10/fixing-sublime-when-things-go-bad/</link>
		<comments>http://thecrumb.com/2011/11/10/fixing-sublime-when-things-go-bad/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 14:11:20 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1694</guid>
		<description><![CDATA[I&#8217;m not sure what I did but I managed to disable the sidebar in Sublime (or at least I initially thought that&#8217;s what happened, keep reading). Hitting the menu wouldn&#8217;t turn it on, nor would the keyboard shortcut work. Uh &#8230; <a href="http://thecrumb.com/2011/11/10/fixing-sublime-when-things-go-bad/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure what I did but I managed to disable the sidebar in Sublime (or at least I initially thought that&#8217;s what happened, keep reading).</p>
<p>Hitting the menu wouldn&#8217;t turn it on, nor would the keyboard shortcut work.  </p>
<p>Uh oh.<br />
<span id="more-1694"></span><br />
Since I knew Sublime stores all it&#8217;s settings in text files I went looking and discovered:</p>
<blockquote><p>C:\Users\jdpriest\AppData\Roaming\Sublime Text 2\Settings\Session.sublime_session</p></blockquote>
<p>And it contained a bunch of useful looking settings like:</p>
<pre class="brush: plain; title: ; notranslate">
{
&quot;menu_visible&quot;: true,
&quot;show_minimap&quot;: false,
&quot;show_open_files&quot;: false,
&quot;show_tabs&quot;: false,
&quot;side_bar_visible&quot;: false,
&quot;status_bar_visible&quot;: false
}
</pre>
<p>I tinkered with a few of those and restarted Sublime. Still no sidebar.  Getting a bit desperate I deleted the file thinking Sublime would rebuild it when it starts up again with defaults. </p>
<p>Nope. I restarted Sublime and there was no new sublime_session file.</p>
<p>Hmmm.</p>
<p>I really didn&#8217;t want to reinstall everything at work so I started tinkering around with my Sublime install at home. </p>
<p>Then I noticed you don&#8217;t have a sidebar until you create/open a <em>project</em>!</p>
<p>I created a project and I got a new session file. Ah-ha!  </p>
<p>I&#8217;m still a bit unclear how projects work in Sublime.  I&#8217;ve simply been opening my code directory in Sublime.  Adding the directory, Sublime prompted me to create a project file (I didn&#8217;t pay much attention to this step when I first got started).  This time I took note and it created two files:  </p>
<ul>
<li><em>Z:\mycodedir\myproject.sublime-workspace</em></li>
<li><em>Z:\mycodedir\myproject.sublime-project</em></li>
</ul>
<p>Somewhere along the line my original sublime-workspace files got deleted!</p>
<p>The sublime-project files seems to simply contain the path to your project.  I&#8217;m guessing you can define multiple paths:</p>
<pre class="brush: plain; title: ; notranslate">
&quot;folders&quot;:
[{
 &quot;path&quot;: &quot;/Z/myproject&quot;
}]
</pre>
<p>Opening the sublime-workspace file it appears similar to your session settings file, it looks like you can configure things at the project level. </p>
<p>For example in Project A you could show the minimap, in Project B you could hide it. </p>
<pre class="brush: plain; title: ; notranslate">
{
&quot;menu_visible&quot;: true,
&quot;show_minimap&quot;: false,
&quot;show_open_files&quot;: false,
&quot;show_tabs&quot;: false,
&quot;side_bar_visible&quot;: false,
&quot;status_bar_visible&quot;: false
}
</pre>
<p> I will definitely be looking more into how projects work in Sublime, and hopefully this will help others if your Sublime suddenly starts acting weird.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2011/11/10/fixing-sublime-when-things-go-bad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SublimeText Multi Select</title>
		<link>http://thecrumb.com/2011/11/08/sublime-multi-select/</link>
		<comments>http://thecrumb.com/2011/11/08/sublime-multi-select/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 15:00:51 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1685</guid>
		<description><![CDATA[I started typing up a post about multi-select in Sublime but it&#8217;s difficult to document and I though a screencast would better capture the feature: Unable to display content. Adobe Flash is required. Checkout the &#8220;Selection&#8221; page in the Sublime &#8230; <a href="http://thecrumb.com/2011/11/08/sublime-multi-select/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I started typing up a post about multi-select in Sublime but it&#8217;s difficult to document and I though a screencast would better capture the feature:</p>
<p><!-- copy and paste. Modify height and width if desired. --> <object id="scPlayer"  width="527" height="220" type="application/x-shockwave-flash" data="http://content.screencast.com/users/jimpriest/folders/Default/media/84c26eac-472c-42e9-8aa1-91f9b16e3e19/bootstrap.swf" ><param name="movie" value="http://content.screencast.com/users/jimpriest/folders/Default/media/84c26eac-472c-42e9-8aa1-91f9b16e3e19/bootstrap.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="thumb=http://content.screencast.com/users/jimpriest/folders/Default/media/84c26eac-472c-42e9-8aa1-91f9b16e3e19/FirstFrame.jpg&#038;containerwidth=527&#038;containerheight=220&#038;content=http://content.screencast.com/users/jimpriest/folders/Default/media/84c26eac-472c-42e9-8aa1-91f9b16e3e19/sublime.swf&#038;blurover=false" /><param name="allowFullScreen" value="true" /><param name="scale" value="showall" /><param name="allowScriptAccess" value="always" /><param name="base" value="http://content.screencast.com/users/jimpriest/folders/Default/media/84c26eac-472c-42e9-8aa1-91f9b16e3e19/" />Unable to display content. Adobe Flash is required.</object></p>
<p>Checkout the <a href="http://www.sublimetext.com/docs/selection">&#8220;Selection&#8221; page in the Sublime documentation</a> for more on multi-select.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2011/11/08/sublime-multi-select/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sublime Text Command Palette</title>
		<link>http://thecrumb.com/2011/11/03/sublime-command-palette/</link>
		<comments>http://thecrumb.com/2011/11/03/sublime-command-palette/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 17:53:51 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1673</guid>
		<description><![CDATA[There are a LOT of commands available within Sublime, in addition to snippets which I haven&#8217;t even looked at (yet). How do you find, learn and remember all these commands? The Command Palette! Tools > Command Palette or CTRL+SHIFT+P will &#8230; <a href="http://thecrumb.com/2011/11/03/sublime-command-palette/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are a LOT of commands available within Sublime, in addition to snippets which I haven&#8217;t even looked at (yet).</p>
<p>How do you find, learn and remember all these commands?  The Command Palette!<br />
<span id="more-1673"></span><br />
Tools > Command Palette or CTRL+SHIFT+P will get you there.  </p>
<p>This will popup a dialog where you can enter commands, or if you aren&#8217;t sure what you are looking for &#8211; partial commands and it will filter the results. </p>
<p>It will even tell you what to type as you can see below:</p>
<div id="attachment_1674" class="wp-caption aligncenter" style="width: 510px"><a href="http://thecrumb.com/wp-content/uploads/2011/11/sublime-command-palette.gif"><img src="http://thecrumb.com/wp-content/uploads/2011/11/sublime-command-palette.gif" alt="" title="sublime-command-palette" width="500" height="374" class="size-full wp-image-1674" /></a><p class="wp-caption-text">Command Palette</p></div>
<p>So to enter a cfloop &#8211; simply type &#8216;cfloop&#8217; and hit TAB (don&#8217;t enter the opening &lt; !)</p>
<p>Since cfloop has multiple options &#8211; query, list, etc, you will see another dialog:</p>
<div id="attachment_1677" class="wp-caption aligncenter" style="width: 373px"><a href="http://thecrumb.com/wp-content/uploads/2011/11/sublime-com-pal-options.gif"><img src="http://thecrumb.com/wp-content/uploads/2011/11/sublime-com-pal-options.gif" alt="" title="sublime-com-pal-options" width="363" height="167" class="size-full wp-image-1677" /></a><p class="wp-caption-text">Available options</p></div>
<p>Select which type of loop you want and hit ENTER and you will get a cfloop with your cursor placed ready to fill in the attributes:</p>
<div id="attachment_1681" class="wp-caption aligncenter" style="width: 422px"><a href="http://thecrumb.com/wp-content/uploads/2011/11/sublime-cfloop.gif"><img src="http://thecrumb.com/wp-content/uploads/2011/11/sublime-cfloop.gif" alt="" title="sublime-cfloop" width="412" height="77" class="size-full wp-image-1681" /></a><p class="wp-caption-text">CFLoop</p></div>
<p>All these ColdFusion commands are from the excellent <a href="https://github.com/indynagpal/coldfusion-sublime-text-2">CFML Sublime package</a> by Indy Nagpal who also includes a large list of CFML snippets.</p>
<p>The Palette also seems to be aware of what type of file you are in, so you won&#8217;t see ColdFusion commands if you are editing a .css file.  </p>
<p>Nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2011/11/03/sublime-command-palette/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tweaking Sublime Text</title>
		<link>http://thecrumb.com/2011/11/01/tweaking-sublime/</link>
		<comments>http://thecrumb.com/2011/11/01/tweaking-sublime/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 19:40:53 +0000</pubDate>
		<dc:creator>Jim Priest</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://thecrumb.com/?p=1645</guid>
		<description><![CDATA[One of the things I love about Sublime is everything is stored in simple text files, and configuring the editor exactly to your needs is as easy as editing a few files. You can easily access these under the &#8220;Prefrences&#8221; &#8230; <a href="http://thecrumb.com/2011/11/01/tweaking-sublime/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the things I love about Sublime is everything is stored in simple text files, and configuring the editor exactly to your needs is as easy as editing a few files.</p>
<p>You can easily access these under the &#8220;Prefrences&#8221; menu.  </p>
<p><strong>Note</strong>: before you go tweaking things you may want to make a backup of these files! :)</p>
<p>Let&#8217;s get started&#8230;<br />
<span id="more-1645"></span><br />
There are generally 2 sets of options:</p>
<ol>
<li><strong>Default</strong>: The default out of the box Sublime options</li>
<li><strong>User</strong>: Your personalized settings (these will override the default settings)</li>
</ol>
<p>And three areas for configuration:</p>
<ol>
<li><strong>File</strong>: These are related to editing files</li>
<li><strong>Global</strong>: These are general editor settings</li>
<li><strong>Key Bindings</strong>: Define what hot keys do</li>
</ol>
<p>To easily get started &#8211; open &#8216;File Settings &#8211; Default&#8217; and select and copy that text.  Then open &#8216;File Settings &#8211; User&#8217;, paste the selected text and edit away.</p>
<p>Or you can simply add individual options to the user settings file.  To keep things clean that is the route I&#8217;ve taken&#8230; so far I&#8217;ve got:</p>
<pre class="brush: plain; title: ; notranslate">
{
	&quot;color_scheme&quot;: &quot;Packages/Color Scheme - Default/Monokai.tmTheme&quot;
	, &quot;font_face&quot;: &quot;Consolas&quot;
	, &quot;font_size&quot;: 12.0
	, &quot;word_wrap&quot;: false
	, &quot;gutter&quot;   : true
	, &quot;line_padding_bottom&quot;: 0
}
</pre>
<p>(the <a href="http://thecrumb.com/2011/10/24/sublime-packge-of-the-day-alignment/" title="Alignment package">Alignment package</a> makes formatting this file easy)</p>
<p>Basically just setting my font, word wrap and color scheme.  Note that these changes are usually instant &#8211; no need to restart the editor.</p>
<p>The gutter and line_padding_bottom settings I&#8217;ve found useful when I have a dense block of code I need to pick through &#8211; I can turn off line numbers and create some white space between the lines to make reading easier.  </p>
<p>I&#8217;m still exploring all the settings available.  If you have some favorites, please leave a note in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://thecrumb.com/2011/11/01/tweaking-sublime/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

