add a custom snippet for scala