GitHub has finally made their Atom text editor open-source and free! Atom is meant to be a a "hackable" text editor for modern programmers. Where the classic text editors like Vim and Emacs are very extensible, they use their own scripting language to accomplish it. Atom, on the other hand, is built around JavaScript so all plugins can be written in pure JavaScript. This will definitely make writing plugins much easier for most users, since most of people know at least the basics of JavaScript anymore.

Anyways, the day that Atom was announced as open-source I went over to the Github page and looked into building. Unfortunately, the only Linux distro officially supported (at the time) is Ubuntu 12.04, and I am currently using Mint 16. I figured it shouldn't be too bad to get Atom to build on Mint 16, so I spent that whole morning getting it to work. Here's the steps I took to build, which worked fairly well for me. I even went through the process twice to make sure. Note, Atom currently only runs on 64 bit systems.

(If you want to see the troubles I dealt with, check out this issue)

  1. Be sure G++ is installed
  2. sudo apt-get install npm
  3. Update npm to 1.4.10 (if it's not already) with sudo npm install -g npm
  4. sudo apt-get install nodejs
  5. Create symlink /usr/bin/node -> /usr/bin/nodejs
  6. sudo apt-get install libgnome-keyring-dev
  7. sudo npm config set python /usr/bin/python2 -g
  8. Clone repo, git clone https://github.com/atom/atom.git
  9. sudo apt-get purge gyp (note, this appears to also get rid of npm, which I thought was weird, but it worked over here)
  10. sudo script/build (seems to NEED sudo, readme should reflect that)
  11. sudo script/grunt install
So far, this has been working for me. Atom is still in beta, so don't expect this to quite replace your favorite text editor yet. If you are on Mint 16, Ubuntu 13.10, or anything past that and this doesn't work then just send me an email and I'll do my best to assist, though you may have better luck just opening an issue on the Atom Github. Some of the features in Atom:
  • Easily extendible with HTML/CSS and JavaScript
  • Modular Design
  • Fuzzy file finder
  • Project-wide search and replace
  • Multiple panes
  • Code folding
  • Snippets
  • Support for TextMate grammar and themes
Saturday, 11 January 2014 04:44

First Blog Post!

First blog post! Sort of, I accidentally trashed my website yesterday and had no backup, so I've had to rebuild. But I'm getting a much better understanding of how Joomla works from the process. Got the Ace text-editor integrated so I can now write HTML code in my articles much easier. Next step, find a way to get a decent syntax highlighter plugin. I've found a couple, but haven't been pleased with any of them yet. If I can get Markdown to actually render, that would be awesome.