[codeeditor] add some else options and code clean