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

Possible Duplicate:
View code in new window

Large code blocks, including ones that are simply too wide for the browser, can make some questions difficult to read. I suggest that clicking on a (non-inline) code block, or some handle associated with it, open that block up in a new window. This would allow the window to be resized as needed to make the code legible and/or positioned so that you can refer to it when answering the question. The same should be true in the question preview pane when editing an answer. As it is, with some questions, you need to scroll up/down to look at the question, then perhaps scroll up/down/sideways to view the code.

share|improve this question

marked as duplicate by random, jmfsg, Jon Seigel, perbert, fretje Mar 22 '10 at 14:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
I like the current restrictions, but a popout button would be nice –  Michael Haren Mar 22 '10 at 14:42
1  
    
@Jon - not an exact duplicate -- I'm suggesting a click on the code or a handle instead of a link, which would be more obtrusive and less desirable. –  tvanfosson Mar 22 '10 at 14:47
2  
@tvanfosson: it's the same functionality with some minor UI interaction differences. –  perbert Mar 22 '10 at 14:51
    
@voyager -- but perhaps the UI implications are why it's never been done. –  tvanfosson Mar 22 '10 at 14:51
    
@tvanfosson: and how could we select pieces of code? (I know it could be done, but it would add annoyance to that use case.) –  perbert Mar 22 '10 at 14:55
    
@voyager -- that would be an argument to use a handle (code block icon), perhaps in the upper right corner. –  tvanfosson Mar 22 '10 at 15:01

1 Answer 1

That would give less incentive for people to post small code blocks and format correctly their code.

If the post needs enough code to make you scroll, it's a mild fail. If the post is not formatted to 80 chars wide, as God intended, it's a major fail.


What I find rather funny is how I have changed my opinion completely in a few months.

Yes I agree.
answered Sep 26 at 20:54 - Ólafur Waage

I'm voyager, and I approve this answer. – voyager Sep 27 at 18:42

share|improve this answer
    
What happened to Adam West? –  random Mar 22 '10 at 14:44
    
@random, what has Batman to do with anything? –  perbert Mar 22 '10 at 14:45
    
That is correct. –  random Mar 22 '10 at 14:48

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