Programming was not the main focus in Construct. If you want to get your hands dirty, there's a lot of tools that can get you that. Or you could just go the manly men route and get an IDE, like Programmers' Notepad or something and type away.
In Construct, you just have to make the concession of accepting that the code you create is not typed. Not severe, really. If you REALLY need to use code because something you want is not there, you can always suggest it's inclusion in future builds or get a plugin done.
If you want to clean up your project, just open c2runtime.js in your project folder and edit it afterwards.
I too asked that question, but C2 is great as it is, so I decided to accept it and I'm quite pleased with it.