CLDIDE-2164

add method withIde. See explanation in another comment