When you paste a text block into your code, IDEA helps you by autoindenting it to fit the new location.