Depends of how seriously the code is.
For high severity projects that need be styled, indented, organized i recommend those two: Phpstorm or Webstorm (if your project it's front-end use Webstorm, if is more backend use Phpstorm, since webstorm has more Angular, etc features)
For editing over SSH, and need be directly under terminal, i use Nano. For editing over SFTP, FTP etc, i prefer using Sublime 3 or Notepad++
For editing simple code files, our small projects that doesn't are so much important, or simply writing test codes, or fast codes i use Sublime 3.
Don't use Atom, is a poop. An Editor made in HTML + Electron? STFU LMFAO. It's lagging. HTML & Javascript are one of the languages that more consumes hardware resources!!
Don't use Eclipse, Atom, Windows Notepad or Netbeans, both are shenanigans.