Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 3.83 KB

atom.md

File metadata and controls

71 lines (45 loc) · 3.83 KB

Coding with Atom (our IDE)

NOTE: If you're using your first Mac computer, you might find this Windows to Mac conversion article useful before diving into this content.

Let's install Atom and a few useful plugins to help you work more affectively. You will be writing your code in Atom, so it's important to get it set up right away!

Steps

  1. Download Atom
  2. Explore Default Functionality / Core Packages
  3. Install Community Packages
  4. Install Shell Commands

1 | Download Atom

  1. Download from here: https://atom.io/
  2. After downloading, drag the Atom icon from Downloads to the Applications folder.
  3. To keep Atom in your dock, right-click on the Atom icon in your dock. NOTE: If you DO NOT see the icon, open Atom by double-clicking its icon in the Applications folder.
  4. In the menu that appears, select Options and Keep in Dock.

2 | Explore Default Functionality / Core Packages

Atom is the "hackable text editor". This means that the community that uses it extends it via packages they write to add new functionality. As these packages become popular the maintainers (programmers that work on and are responsible for a software project) of Atom can decide to make functionality default.

To see what is installed by default, go to the Preferences menu (also called settings):

  1. In the Atom menu, select Preferences. A new tab will open called Settings. On the left hand side of this screen you should see a series of options: Settings, Keybindings, Packages, Themes, Updates, and Install.
  2. Select Packages.

3 | Install Community Packages

You can install the community packages. Here is a small list of some suggested ones. Note, some packages need you to restart atom before they take effect.

There are two ways to install community packages in Atom. The first way is described below. If you are interested in installing things via the command line, there is an atom package manager (apm).

Install from Preferences
  1. In the Preference menu, click Install on the left selection.
  2. In the search box, type the exact name of the package from the list above. As you see in the picture below many matches come up.
  3. Find the correct package in the list and click the blue install button.

NOTE: You might need to restart Atom for the package to start working.

I already have installed minimap, so I don't have a blue button.

Some packages require you launch them from the package menu.

4 | Install Shell Commands

Atom's shell commands are typically installed by default, but sometimes that may not happen. Shell commands are commands that can be used in the command line to make Atom perform some action.

We will first make sure you actually need to install this command line application.

  1. Open the Terminal application.
  2. In Terminal, type which atom and press the ENTER (or RETURN) key to execute the command.
  • If you see /usr/local/bin/atom you have Atom's shell commands installed. Do not do any of the following steps.
  • If you see nothing, continue to the next step.
  1. In Atom, click on Atom in the top menu bar.
  2. In the menu that appears, select Install Shell Commands.

Remember, we are all in this together and the Slack channel is there to help. If you are having troubles ask there, if you figured something out that could help others also share it there.