add suport for scala editing