<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <link href="https://friendlybit.com/feed/" rel="self" type="application/atom+xml" />
    <link href="https://friendlybit.com/" rel="alternate" type="text/html" />
    <updated>2012-07-07T23:53:03+02:00</updated>
    <id>https://friendlybit.com</id>
    <title type="html">Friendly Bit - Web development blog</title>
    <subtitle>Friendly Bit is a blog by Emil Stenström, a Swedish web developer that occasionally gets ideas of how to improve the internet.</subtitle>
    
        <entry>
            <title type="html">My text editor: Sublime Text</title>
            <link href="http://friendlybit.com/tools/my-text-editor-sublime-text/" rel="alternate" type="text/html" title="My text editor: Sublime Text" />
            <published>2012-07-07T23:53:03+02:00</published>
            <updated>2012-07-07T23:53:03+02:00</updated>
            <id>http://friendlybit.com/tools/my-text-editor-sublime-text/</id>
            <author>
                <name>Emil Stenström</name>
            </author>
            <summary type="text">What text editor you use when coding is a very serious subject. I&#39;ll hardly be able to talk about what I prefer, without some people (other than you, of...</summary>
            <content type="html" xml:base="http://friendlybit.com/tools/my-text-editor-sublime-text/">
                &lt;p&gt;What text editor you use when coding is a very serious subject. I&#39;ll hardly be able to talk about what I prefer, without some people (other than you, of course ;) taking it as me trying to steal their editor from them. I&#39;m not going to. I&#39;m just going to tell you what I think, and you can just decide of you agree or not. My hope is that it helps you be more certain about your own choice of editor.&lt;/p&gt;
&lt;p&gt;What I look for in a text editor:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Support both Mac and PC&lt;/strong&gt;. I use a Mac for work, and a PC at home, and I want to be able to use the editor skills I&#39;ve learned at work for my hobby projects, and vice versa.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Less than 3 seconds starting time&lt;/strong&gt;. Big projects means lots of little files to open. So while programming I will open files and close files all the time. Each delay waiting for the editor to open, or a file to load, means hundreds of seconds over time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Syntax highlighting for web languages&lt;/strong&gt;. I work with web stuff, both front end and back end, and I need colors to be able to scan files quickly. I don&#39;t really care about the exact ones, light or dark, I just want it to look decent. What &amp;quot;web languages&amp;quot;? HTML, CSS, Javascript, JSON, Python (Django), Ruby (Rails), PHP, SQL.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Handle big files&lt;/strong&gt; &lt;strong&gt;(&amp;lt; 1 Gb)&lt;/strong&gt;. From time to time I work with big files. Can be database dumps or large text files. I&#39;m not expecting &amp;lt; 3 sec to open them, but at least &amp;lt; 15 sec, and then be able to work with the file without the editor lagging.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Some kind of file browsing/project support&lt;/strong&gt;. There&#39;s never just one file and there&#39;s needs to be a way to overview all the files in a certain directory structure, and pick from them. I&#39;d like there both to be file searching support and a way to click to a file through the directory structure.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Code auto-completion for web languages&lt;/strong&gt;. Do I use font-variant, font-style, or font-decoration to set italic? I want my editor to show me a list of options, and let me pick. This is harder to do well for the dynamic server-side languages, but I still want it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Look good&lt;/strong&gt;. I don&#39;t want something that looks like the terminal, and want something beautiful. For me this means gradients, nice rounded tabs to click on, a nice font, a color scheme that matches.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;With that list of priorities in mind, let&#39;s look at a couple of popular editors:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Editors that are not available both for Mac and PC: &lt;strong&gt;Textmate&lt;/strong&gt;, &lt;strong&gt;Coda,&lt;/strong&gt; &lt;strong&gt;Notepad++&lt;/strong&gt;, and &lt;strong&gt;Visual Studio&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Editors that are slow: &lt;strong&gt;XCode, Eclipse&lt;/strong&gt;, &lt;strong&gt;NetBeans&lt;/strong&gt;, &lt;strong&gt;Dreamweaver&lt;/strong&gt;, and most other editors built with Java.&lt;/li&gt;
&lt;li&gt;Editors that don&#39;t handle syntax highlighting and code completion: &lt;strong&gt;Notepad&lt;/strong&gt;, &lt;strong&gt;Wordpad&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Editors that don&#39;t handle big files well: &lt;strong&gt;Komodo Edit&lt;/strong&gt; (what I used til recently).&lt;/li&gt;
&lt;li&gt;Editors that look like shit: &lt;strong&gt;Emacs&lt;/strong&gt;, &lt;strong&gt;Vim&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And then there&#39;s &lt;a href=&#34;http://www.sublimetext.com/&#34;&gt;&lt;strong&gt;Sublime Text&lt;/strong&gt;&lt;/a&gt;. Which does all of the above, perfectly. You should try it.&lt;/p&gt;

            </content>
        </entry>
    
</feed>