Bad bad bad bad idea. The code editor doesnt need to be improved. It needs to be removed. Why on earth do we go to all the trouble of having version control, deployment via version control etc. If we are going to allow clients/users who may or may not (most probably not) have access to and edit code?

No no no. Bad bad bad.