Have you tried Atom? Although it is quite new, many have fallen in love with Atom, a text editor made by GitHub that offers many advantages and above all is free for use. Atom comes with a few built-in packages, such as integration with Git and tree-view. However, for the purposes of development you will definitely need other packages.
In this post we have picked a few packages that a web developer must have. Some are great to help organize your messy code, others to help you have better access to your files without leaving Atom. Here are your 10 must-have Atom packages.
As the name implies, this package lets you pick colors, and it is as easy as a right-click and choosing ‘Color Picker’. Alternatively it can be done by pressing CMD/CTRL+SHIFT+C. Color Picker works if your cursor is on the text on CSS/SASS/LESS files that contain one of the following color formats: HEX, HEXa, RGB, RGBa, HSL, HSLa, HSV, HSVa, VEC3 and VEC4, or color variable on SASS or LESS. It also has the ability to convert between the formats.
Emmet seems to be a plugin that you need to install, whatever your text editor environment is. The main features of Emmet such as expanding abbreviations and wrapping with abbreviations, allow you to work quickly when writing HTML, CSS, Sass / SCSS and LESS syntaxes. For example, in HTML, type
p>a.mylink then tap on TAB key to get a complete HTML tag
<p><a href class="mylink"></a></p>. The Cheat Sheet will helps you to quickly learn Emmet’s abbreviation syntax.
If you are accustomed to Sublime Text, you may be familiar with the mini preview on the right side window. That feature is useful to quickly scroll through source codes too long for the window height. With Minimap, you get this for Atom. You can even set the position to be on the left or right, turn on/off code highlights, and more. Minimap even comes with some plugins to extend its functionality, such as color highlighter.
Packages > Atom Beautify > Beautify.
$ apm install linter-jshint on Terminal.
File Icons add icons to a filename based on the corresponding file type. It will add visual improvements when you open a file on tab or on tree view. The file icons are customizable: you can add your own icon and change the color through the LESS files in the
packages/file-icons/styles directory. The default icon comes in 8 colors and 3 variants (light, medium and dark).
cl to make
CSS Comb makes your stylesheet code formatted consistently, looking neat and beautiful. You can use pre-made sorting preferences based on Yandex, Zen, or CSSComb itself, or you can even use your own preference to make sorting rules. After installing this package, the sorting job can be done by pressing CTRL + ALT + C or accessed from the context menu via
Packages > CSS comb > Comb.
Git Plus allows you to work with Git without leaving Atom editor. Within the editor you are able to make a Git commit, checkout, push/pull, diff and other git commands. You need to setup your
user.email on your git config file to make all functions work. To access all git command, open the palette with CMD + SHIFT + H or choose
Package > Git Plus.
Remote Edit helps you to see and edit your remote files without leaving the editor or with the use of other ftp applications. To start, firstly create a new host, then add via menu
Packages > Remote Edit > Add New Host and insert your login information. Now you can browse to your remote files, use CTRL + ALT + B to browse registered host and see the files.