Keypress Editor is a great editor app.
Together with SFTP File System it turns a Chromebook into a very nice setup for writing code.