First launch your browser and download the atom deb from their website: http://atom.io
Copy the file from the user download folder to the Linux folder.
Then with the open window or a new window execute the command
sudo apt install --fix-broken ./atom-amd64.deband 'y' when prompted
When the prompt returns change to the project directory that you want to edit and type 'atom'. That will load the atom editor in the background... and you can begin coding.
have a nice day