IDE-1590 automatically create Data source explorer connection

Always add a newline before an if(){} block unless its the first line in new block already.