What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

Reading through Reviews of first-questions in SO, I've noticed an overwhelming number of questions w/ irregular/excessive code indentations. Has something changed w/ the way copy-and-pasted code is treated?

I've been able to edit a handful of questions and make them more readable, but that's not always an option because a) it's a whitespace-only edit or b) I kind-of have a life (usually the former).

Here's an example.

share|improve this question
I don't think there's been a change. There've always been major formatting issues with code for new users, they just get edited so quickly you don't always notice it. – Servy Dec 27 '12 at 18:56
Oh, and once you have the 2k rep to edit without needing review (you're very close) you can make whitespace only changes. – Servy Dec 27 '12 at 19:00
This is the copy-paste conundrum (or something to that effect). A new user (or sometimes not so new) posts something copied exactly from their code. As it's indented properly there by pure co-incidence it is indented properly on SE and then some more. I normally copy them to my IDE and press tab a few times... But you can re-press ctrl+k and remove 4 spaces straight away giving you back some of your life. – ben is uǝq backwards Dec 27 '12 at 19:04

You must log in to answer this question.

Browse other questions tagged .