<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>sublime text &#8211; luke arms</title>
	<atom:link href="https://tech.lkrms.org/tag/sublime-text/feed/" rel="self" type="application/rss+xml" />
	<link>https://tech.lkrms.org</link>
	<description>just a nerd with &#34;mild OCD tendencies&#34;</description>
	<lastBuildDate>Sun, 16 Sep 2018 12:27:23 +0000</lastBuildDate>
	<language>en-AU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.6.12</generator>

<image>
	<url>https://tech.lkrms.org/wp-content/uploads/2016/06/cropped-Logo-Letters-WB-Circle-2-32x32.png</url>
	<title>sublime text &#8211; luke arms</title>
	<link>https://tech.lkrms.org</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">152348619</site>	<item>
		<title>My Sublime Text 2 setup</title>
		<link>https://tech.lkrms.org/my-sublime-text-2-setup/</link>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Wed, 16 Jan 2013 11:37:42 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sublime text]]></category>
		<guid isPermaLink="false">http://lkrms.org/?p=236</guid>

					<description><![CDATA[<p>I&#8217;ve posted before about my ever-deepening love for this excellent text-editor-come-IDE, but I haven&#8217;t shared the specifics of my Sublime Text 2 configuration, so for the geeks out there, here&#8217;s the gazillionth post on this topic. 1. Install Sublime Text 2 Do what it says on the box. Nothing should go wrong. If it does, &#8230; <a href="https://tech.lkrms.org/my-sublime-text-2-setup/" class="more-link">Continue reading <span class="screen-reader-text">My Sublime Text 2 setup</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/my-sublime-text-2-setup/">My Sublime Text 2 setup</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve posted before about my ever-deepening love for this excellent text-editor-come-IDE, but I haven&#8217;t shared the specifics of my Sublime Text 2 configuration, so for the geeks out there, <em>here&#8217;s the gazillionth post on this topic.</em></p>
<h2>1. Install Sublime Text 2</h2>
<p><a href="http://www.sublimetext.com/">Do what it says on the box.</a> Nothing should go wrong. If it does, quit coding on Linux and use one of the other two supported platforms.</p>
<p>(That was a joke. I haven&#8217;t tested the Linux version, that&#8217;s all.)</p>
<h2>2. Install Sublime Package Control</h2>
<p>There&#8217;s a package for pretty much anything you might want to do with Sublime Text 2, but managing them manually can be a bit of a pain. Sublime Package Control looks after installing them for you, and automagically updates them &#8211; silently &#8211; in the background. (Unless you&#8217;re a control freak and tell it not to.)</p>
<p><a href="http://wbond.net/sublime_packages/package_control/installation">The Sublime console method has worked flawlessly for me.</a></p>
<h2>3. Install the Soda theme and syntax highlighting</h2>
<p>Sublime Text 2 is pretty, but the Soda theme makes it prettier.</p>
<p>From the Tools menu, select <em>Command Palette</em> and find <em>Package Control: Install Package</em>. (You&#8217;ll do this for each upcoming package installation.)</p>
<p>Select <em>Theme &#8211; Soda</em>.</p>
<p>Almost done. Now, for pretty syntax highlighting, <a href="https://github.com/buymeasoda/soda-theme#syntax-highlighting-colour-schemes">follow these instructions.</a></p>
<p>No pretty UI yet? Don&#8217;t worry, we&#8217;ll make that happen in the next step.</p>
<h2>4. Update Sublime Text 2 preferences</h2>
<p>Go to <em>Preferences &gt; Settings &#8211; User</em> from the main Sublime Text 2 menu, and your user preferences file will open. It&#8217;s JSON-formatted and almost empty, which is confusing at first, but makes sense once you dig in. All of the options available to you are explained in <em>Preferences &gt; Settings &#8211; Default</em>.</p>
<p>Here&#8217;s how I have mine configured (note the &#8220;theme&#8221; and &#8220;color_scheme&#8221; entries):</p>
<pre class="brush: jscript; title: ; notranslate">
{
    &quot;auto_complete_commit_on_tab&quot;: false,
    &quot;auto_match_enabled&quot;: false,
    &quot;color_scheme&quot;: &quot;Packages/User/Espresso Soda.tmTheme&quot;,
    &quot;drag_text&quot;: false,
    &quot;file_exclude_patterns&quot;:
    [
        &quot;*.pyc&quot;,
        &quot;*.pyo&quot;,
        &quot;*.exe&quot;,
        &quot;*.dll&quot;,
        &quot;*.obj&quot;,
        &quot;*.o&quot;,
        &quot;*.a&quot;,
        &quot;*.lib&quot;,
        &quot;*.so&quot;,
        &quot;*.dylib&quot;,
        &quot;*.ncb&quot;,
        &quot;*.sdf&quot;,
        &quot;*.suo&quot;,
        &quot;*.pdb&quot;,
        &quot;*.idb&quot;,
        &quot;.DS_Store&quot;,
        &quot;*.class&quot;,
        &quot;*.psd&quot;,
        &quot;*.db&quot;,
        &quot;*.bak&quot;
    ],
    &quot;find_selected_text&quot;: true,
    &quot;folder_exclude_patterns&quot;:
    [
        &quot;.svn&quot;,
        &quot;.git&quot;,
        &quot;.hg&quot;,
        &quot;CVS&quot;
    ],
    &quot;font_face&quot;: &quot;Source Code Pro&quot;,
    &quot;font_size&quot;: 10,
    &quot;highlight_line&quot;: true,
    &quot;highlight_modified_tabs&quot;: true,
    &quot;ignored_packages&quot;:
    [
        &quot;Vintage&quot;
    ],
    &quot;show_full_path&quot;: true,
    &quot;tab_size&quot;: 4,
    &quot;theme&quot;: &quot;Soda Light.sublime-theme&quot;,
    &quot;translate_tabs_to_spaces&quot;: true,
    &quot;trim_trailing_white_space_on_save&quot;: true
}
</pre>
<h2>5. Install SublimeCodeIntel and sublimelint</h2>
<p>Project-wide code completion, function tooltips and jump-to-declaration are provided by the SublimeCodeIntel package. Syntax error highlighting is provided by sublimelint. Install both using the method described above (be careful not to accidentally install similarly named packages). Both should work out of the box (on Mac OS X, anyway &#8211; on Windoze you might need to add interpreters to your PATH for sublimelint to work).</p>
<p><em>Update:</em> I also install the VBScript package. Its code completion isn&#8217;t very smart, but then VBScript isn&#8217;t very smart either.</p>
<h2>6. Configure &#8220;build&#8221; systems</h2>
<p>I&#8217;ve already posted about how I use Sublime Text 2&#8217;s build system for <a href="https://lkrms.org/custom-code-formatters-in-sublime-text-2/">PHP and JSON formatting.</a></p>
<h2>7. Restart and get to work!</h2>
<p>I&#8217;ve found that new themes don&#8217;t &#8220;take&#8221; fully until Sublime Text 2 is restarted. Your mileage may vary.</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/my-sublime-text-2-setup/">My Sublime Text 2 setup</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">236</post-id>	</item>
		<item>
		<title>Custom code formatters in Sublime Text 2</title>
		<link>https://tech.lkrms.org/custom-code-formatters-in-sublime-text-2/</link>
		
		<dc:creator><![CDATA[Luke]]></dc:creator>
		<pubDate>Sun, 14 Oct 2012 06:55:00 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sublime text]]></category>
		<guid isPermaLink="false">http://lkrms.org/custom-code-formatters-in-sublime-text-2/</guid>

					<description><![CDATA[<p>I’m starting to fall in love with Sublime Text 2. It’s the text editor I’ve been looking for since I’ve been editing text. It’s fast (instant startup, no lag ever). It’s truly cross-platform (looks, feels and runs identically on OS X and Windows). It works beautifully out-of-the-box, but there are plugins galore. It has split &#8230; <a href="https://tech.lkrms.org/custom-code-formatters-in-sublime-text-2/" class="more-link">Continue reading <span class="screen-reader-text">Custom code formatters in Sublime Text 2</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/custom-code-formatters-in-sublime-text-2/">Custom code formatters in Sublime Text 2</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I’m starting to fall in love with Sublime Text 2. It’s the text editor I’ve been looking for since I’ve been editing text.</p>
<p>It’s fast (instant startup, no lag ever). It’s truly cross-platform (looks, feels and runs identically on OS X and Windows). It works beautifully out-of-the-box, but there are plugins galore. It has split windows. It has code completion. It’s pretty.</p>
<p>I could go on.</p>
<p>Anyway, having written my own PHP and JSON beautifiers, I was looking for a quick-and-dirty way of integrating them into ST2 (i.e. without wrapping them up in a dedicated plugin &#8211; I’m not fluent with Python yet). Turns out ST2’s build system is almost perfect for this.</p>
<p>Go to <em>Tools &gt; Build System &gt; New Build System</em>, and drop something like this in the window that opens:</p>
<pre class="brush: jscript; title: ; notranslate">
{
    &quot;cmd&quot;: [&quot;php&quot;, &quot;/path/to/pretty.php&quot;, &quot;$file&quot;],
    &quot;selector&quot;: &quot;source.json&quot;
}
</pre>
<p>Now, assuming there’s a PHP CLI binary on your path, you’re done! Press Cmd+B in a JSON file and it will be “built”, i.e. formatted.</p>
<p>There’s only one shortcoming I’m aware of: Sublime Text 2 doesn’t check for changes in the source file post-build. So you’ll need to use your favourite method to force a file reload.</p>
<p>The post <a rel="nofollow" href="https://tech.lkrms.org/custom-code-formatters-in-sublime-text-2/">Custom code formatters in Sublime Text 2</a> appeared first on <a rel="nofollow" href="https://tech.lkrms.org">luke arms</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">27</post-id>	</item>
	</channel>
</rss>
