IDE-1616 add command for build-service

Always put a newline before if() block unless it is the first line of a new block itself