The honey badger of code editorsNeutron Drive allows you to edit code on your local machine, Google Drive, and remotely. Neutron Drive also syncs all your preferences between machines so your development environment follows you wherever you go on Windows, Mac, Linux, and Chrome OS.
The Google Drive feature supports multiple accounts so you can have both your work and personal accounts open at the same time.
For more information on Super Neutron Drive's features see:
https://super.neutrondrive.com/
Super Neutron Drive is open source:
https://github.com/pizzapanther/Super-Neutron-Drive