Day 27 in the #vDM30in30

I started off as a Java developer, so I was used to Eclipse and Intelij, quite heavy IDE's with lots of assistance.

After moving away from Java and into Ruby, I noticed one of the other developers was using TextMate, and it seemed much nimbler and easier to get things done.

However, there were a few annoying things that about Textmate at the time (circa 2012~), such as Textmate crashing when you looked at large files. At the time we had a few larger JSON fixtures (not massive, 50-100kb or so) we were using for testing. A bit of a pain.

So, eventually, I ended up moving to Sublime Text, which seemed like a better, faster Textmate.

I've split my time since then between Sublime and Vim, but I normally end up going back to Sublime.

Over my years of using it, I've ended up with some settings and plugins that I've stuck with.


    "color_scheme": "Packages/User/SublimeLinter/brogrammer (SL).tmTheme",
    "ensure_newline_at_eof_on_save": true,
    "font_size": 13,
    "tab_size": 2,
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true

Nothing super interesting here.

The main interesting parts:


Makes sure that files have a proper EOF


space > tabs! FIGHT ME!


Trailing whitespace in files is a pain...


Nothing super interesting, but you can see my habit from Intelij coming in: CMD + ALT + [ to indent is a habit from then.

The other is just an easy way to close multiple tabs at once.

  { "keys": ["super+alt+["], "command": "reindent" },
  {"keys": ["super+alt+]"], "command": "close_all"}



I already mentioned this in my Dash blog post, basically ou can press Ctrl+H in a file with Sublime, and it will do a context search using the type of code in the file plus a search for that entry.


A sublime text 2/3 plugin to show an icon in the gutter area indicating whether a line has been inserted, modified or deleted.

Really useful for a quick visual indicator what's new Git-wise.

This is actually built into most new editors these days, such as Atom and Visual Studio Code.


Shows the git commit history for one or more lines of code. Essentially it performs a git blame on the selected line(s) of code, and then performs a git show on the resulting commit(s).


JSON-linting with sublime, highlighting invalid JSON.

Really useful for catching those trailing commas or forgotten quotes.


Provides enhancements to the operations on Sidebar of Files and Folders for Sublime Text

Adds a bunch of much-needed options to the sidebar, expands search options and adds features like the ability to "Open With.." with a specified list of applications


Automatically generates yardoc for Ruby

You just click over your method, press Ctrl+Enter and it'll automatically generate documentation for your Ruby code.