Confessions of a Sublime Text-aholic

It’s true. I’m a Sublime Text addict. It’s by far my favorite development tool. End of story!

Just to illustrate, earlier this week, a member of our development team asked how to quickly remove all empty lines from a very large text file. I quickly came up with the following:

  1. Press CTRL-F.
  2. Enable regular expressions (the button entirely in the bottom-left corner).
  3. Search for ^\s*$
  4. Press ALT-ENTER (click on the “Find all” button).
  5. Hit the backspace button.
  6. Done!
  7. Be merry …
    Don’t just take my word for it. Just start using it!

Published by

Jan Van Ryswyck

Hi, thank you for visiting my blog and reading all the crap that I'm posting here. I'm a senior software engineer at SD WORX. Developing software is one of my greatest passions in life, and I enjoy doing it every single day. I've got three kids (Len, Lisa & Laura) who constantly remind me that there is more in life than just programming all day. They are the greatest kids in the whole world. And last but not least, there's my girlfriend who is my inspiration in life. You can always contact me at jan_dot_van_dot_ryswyck at

10 thoughts on “Confessions of a Sublime Text-aholic”

  1. I’ve recently switched to ST2 and love it. However, there are a couple deficiencies that prevent me from rolling it out to the entire office. (~20 users)

    1) There’s no (apparent) option to automatically lock files that are open in ST forcing subsequent users to open read-only.

    2) Files that change on disk while open in the editor are automatically loaded. It would be nice if this was configurable, providing ignore and prompt options as well.

    3) When files are automatically reloaded the current cursor position is reset, long files are scrolled back to the top.

    Having said that, Sublime Text seems to be the answer to a lot of other problems I’ve been fighting in TextPad, Notepad++ and Notepad2. I look forward to ST3!

    1. Problems 1 and 2 are problems caused by working from a shared drive. Word, Excel etc provide file locking as a fudge, but a decent Version Control System would solve these problems elegantly (and allow better collaboration)
      Problem 3 would also vanish because files wouldn’t be changed from underneath you.

  2. Ever heard of WebStorm or any of the other IDE´s provided by jetbrains? (no file editor can ever beat a truly intelligent IDE)

    1. I use WebStorm for debugging Node.js apps. After that I head back to SublimeText as quickly as possible.

      1. But how do you handle refactoring in large javascript projects? Doing it manually does not feel so nice… Choosing not to refactor something that’s obviously in need of refactoring because you’re scared that your code might crash does also not feel so nice.

        1. I do refactor … a lot actually. The multi-cursor feature helps me quite a lot. I do not have the feeling that I’m missing out, especially when it comes to JavaScript code.

Comments are closed.