Do I really need to have my code editor locally? I can't imagine why.
Because sometimes I'm in a place where I do not have internet access, yet would still need to do productive work?
ETA: I don't think it's a bad idea to have the ability to run an editor in the browser...I'm merely suggesting that there are actually real world use cases for having your text editor installed locally on your machine, along with a repository of your work.