A good text editor lies at the heart of any serious programmer's toolkit: It can do almost anything and makes you much more productive. The editors built into each program often are not the best option (we will find certain cases where you may want to use them).
Please download, install it along with the necessary packages and stick with it for at least the duration of the project or assignment to get a feel for how it works.
There is a slight learning curve, but soon you hopefully will be wondering why no-one forced you to do this before!
Mac and Windows Users
Go to the downloads page and download the installer for your operating system:
- Windows users download AtomSetup-x64.exe and execute the installer
- Mac users download Atom-Mac.zip and copy the contained Atom.app into the applications folder
Enter the following information to add a repository that has the Atom installation, then press
sudo add-apt-repository ppa:webupd8team/atom
Install Atom by entering the following commands into a terminal and then pressing
sudo apt update; sudo apt install atom
Verifying Atom Installation
We want Atom to be available from the command line. For Mac and Linux Users this is the default after you have started the program once. So please open Atom. Then open your terminal and type the following into the command line:
followed by pressing
Return you should see output like the following
Atom : 1.28.2 Electron: 2.0.5 Chrome : 61.0.3163.100 Node : 8.9.3
Make sure that the version numbers are above
1.26.x or newer.
Additional Step for Windows:
Getting things to run from the command line for Windows users is a bit harder. You will need local administration rights for your computer, but you should have these on your personal computers or those owned by the University.
- Right-click on Computer.
- Then go to "Properties" and select the tab "Advanced System Settings".
- Choose "Environment Variables" and select
Pathfrom the list of system variables.
If you accepted all defaults during your installation, and didn't have any other non-default setting prior to starting this guide, choose
On Windows 7 or 8 machines: Append the following (i.e., do not overwrite the previous value) modifying the string, with your relevant
to the variable value – make sure the rest remains as it is and do not include spaces between the ";" and preceeding text.
On Windows 10 machines: Click
Newand paste the following string, modifying the
OKas often as needed.
Close your current terminal session, open a new one, and again try
atom . - the Atom editor will open if this was successful.
Installing Additional Packages for Atom
One of the advantages of Atom is that there are many packages that make your life easier, ranging from simple syntax highlighting to environments that can mimic a complete graphical user interface.
- To access Atom's settings press
Ctrl + ,(
CMD + ,on Mac) on your keyboard then click on the
Installtab which is visible on the left hand side.
- On the Installation page there is a prompt where you can type in a package name and then press
Returnand Atom will search for that package for you and return results with similar names. When you find the package that you need, you click the blue 'Install' button and the package will be installed.
If during the installation of a package Atom asks to install dependencies, always choose to accept.
If you decide to stick with Atom, you may find the following packages useful in your day-to-day work:
- autocomplete-python (choose Jedi as your engine when asked)
Feel free to ask us for whatever other packages we use to make our programming lives easier during some downtime.