Configure Atom editor for Drupal development

Atom editor (or just Atom) is free and open source text and code editor build by GitHub. It is build using Chromium, nodejs, CoffeScript and Less. There are few other editors build using nodejs, second most popular project is Brackets. I've tried both and found Atom stable among two. Another advantage Atom has more plugins than Brackets. Recently I'm started to using it as alternate for Sublime Text.
It has many plugin for Drupal also. I'm using following plugins

  • Drupal - It provides Drupal snippets, filetypes association and hotkeys. Currently it only provide Drupal 7 snippets.
  • Linter Drupalcs - It checks the code for Drupal coding standrd (aka drupalcs) errors in the code. To configure this make sure code sniffer and coder module is installed and manually provide path for Drupal coding standard file.
  • Terminal plus It provides the terminal inside Atom editor window, it is very useful running commands like drush without moving away from code.
  • Color picker - It provides the color picker while css editing.
  • Atom autocomplete Php - It provides autocomplete functionality for PHP for composer base projects. Since it uses composer, it useful for Drupal 8 projects.

Tags: