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...
2 Answers
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.
-
1I 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. Commented Jun 29, 2011 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. Commented Jun 29, 2011 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.– EBarrCommented Feb 29, 2012 at 22:38
-
I'd like to allow more of my screen to be used for code blocks.
I imagine ios users would like it too:
Searching for substrings (NSString)
How to make a custom tableView cell accessory
Populating TableView cells using GCD
sharing multiples items with sharekit on facebook
Expected specifier-qualifier-list before error
Custom tableViewCell resignFirstResponder when scrolled offscreen
Core Data: object in a predicate
Finding generic Bluetooth devices within reach
IOS: tableview delegate methods for two tableview
What happens if a file already exists and you try writing to it?
Cannot set UILabel properties
How to copy TableView cell data to a NSMutable Array?
how to retain values in the following method?