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

This would be soo easy to implement with just a little bit of jquery... And, it would make reading large code blocks sooo much easier. Pretty please? I'll even write it...

share|improve this question
    
1  
Make a user script. –  Moshe Jun 29 '11 at 3:40
    

2 Answers 2

I'm not talking with authority so don't quote me on that but posting overly large source files on Stack Overflow is generally discouraged.

People should only post short snippets or the most relevant parts of their code. So in essence one should avoid large code blocks.

share|improve this answer
1  
I agree, if someone is posting so much code that the area currently set aside to show a block of code becomes cumbersome, then it is too much code. The solution is not to change the display area, but to encourage the poster to reduce the amount of code. –  Lasse V. Karlsen Jun 29 '11 at 21:23
    
+1, @octaviandamiean, @lassevkarlsen, I think this is a valid point. However, there certainly must be exceptional circumstances where long code blocks are justified? Wouldn't it be better to have a warning appear prior to maximizing the full screen mode than to not have the feature at all? Or, it could be a restricted privilege for users whose reputation has proven they will use it judiciously. –  smartcaveman Jun 29 '11 at 21:58
    
Sometimes it's not the number of lines of code (say 10-20 long), but rather the width. I often find myself sketching out an answer in my IDE, then when it comes time to post I'm doing formatting gymnastics to make it fit left to right. –  EBarr Feb 29 '12 at 22:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .