Can I tab multiple lines of code in stack overflow? When I copy and paste code into the code sample part, the alignment throughout the code is usually always off.
123630
Possible Duplicate:          When writing code in SO, I always press Tab to indent my code. It doesn't work. Instead, I lose focus on the question text area.  To actually indent, I use Spacebar, but doing this to many lines of code is annoying.  What is the right way to indent code?
70874
Do you know any good tools for nicely formatting messy php code? Preferably a script for Aptana/Eclipse, but a standalone tool will do too.
52362
Suppose the following chunk of code:  lines = text.split`\n`   Not relevant, but it is valid ES6 code  My question is: How to write it inside one comment? When I use backticks around content it displays the content formatted as code. But what if there are backticks inside this content?
8373
in questions, answers, and comments. Can we get something like this going on Stack Overflow?  I think it’d be appropriate as I at least pretty often want to write something like n^2 and would benefit greatly from prettier markup.
19695
In Eclipse it is possible to comment out multiple lines at once by selecting them and executing CTRL + /:  // helloworld  Is this possible in  as well instead of typing /+/ in front of each individual line?
58697
The alignment of items in the block Questions that may already have your answer is weird. The first question score is shown before the question and subsequent question and scores doesn't match. Here is a screenshot:     Right now, I'm using Chrome Version 28.0.1500.95 m, but it looks the same on Internet Explorer. Reproduced on Firefox 22.0  Edit: Stack Overflow looks normal.
32819
I want to typeset a piece of code containing line breaks.  New lines should indent to a specified point in the previous line.  Here is a monospaced example to illustrate what I mean.  Notice how 'case' and 'of' line up below, as well as 'let' and 'in':  swap : forall a, b. Tuple a b -&gt; Tuple b a swap a b x = case x              of tuple a b y z. let x' = tuple b a z y                                in x'   The code I want to typeset is not monospaced, so I can't just use a verbatim environment to get what I want.  The actual LaTeX of the first line, for instance, is  \mathsf{swap} : \forall\alpha,\beta.\;\mathsf{Tuple}\;\alpha\;\beta\to\mathsf{Tuple}\;\beta\;\alpha   How can I align some text to a specific point in the previous line?
34413
So, I'm a JavaScript developer (mainly), and I've been using Stack&nbsp;Overflow for a bit now. I keep finding myself needing to use  (or similar) in order provide demos in my answers. jsFiddle is great; however, I was wondering if Stack&nbsp;Overflow has any plans to create its own (slightly-more-permanent) code playground for its users?  jsFiddle seems incredibly simple to make, and more often than not the code I find posted in my answers is demo-ready (that is, it’s real code that doesn't contain placeholders). One way I can imagine implementing this is with a "run this" button which takes the code blocks from within a post, tries to execute them, and then opens the results in an overlay (or a new window).
36502
Here's a screenshot of the error shown for the list layout alignment issue. I don't know what it is called, so I did my best.  I'm using Google Chrome version 38.0.2125.104 m, telling me that I'm up-to-date.   If it's a browser issue, then I can't update it, as I don't have admin rights and had to go report this issue to the admin.
59535
One feature of SO that pains me every single time is having to manually indent all code four spaces, and usually copy four spaces to the clipboard so Ctrl+V acts as 'Tab'.  Maybe it's on purpose to stop walls of code, but I want to discuss it anyway because everything else seems to go so smoothly and this annoys me and slows me down every day.  ....  And I JUST found the 'code block' feature after many months (having looked through a similar question or two).  I guess then can I rephrase as, 'Please make the CODE BLOCK editor feature/button more obvious' ?
110889
When I'm editing a stack snippet, I often want to copy code from the original question into the snippet. But while the snippet editor is on display, there's no way to access the question, other than opening another tab/window. What I often do instead is copy all the code in the question to the clipboard, open the snippet editor, then paste it all in and revise it to what I want. But when the original code is poorly designed, that ends up being more work than just copying the bits and pieces that I want.  There could be a "View Question" button that pops up the question over the snippet editor and allows copying. Or maybe the Snippet Editor could be draggable and resizable, so you can reveal the question and copy from it; but this would require that it not be purely modal.
91651
I know that it isn't a new question (I read already some others questions) but:   the question was asked many months ago; my problem, perhaps, is a little different!   Well, as I wrote in the previous message I'm blind and when I try to insert a question I have many problems with correctly indenting my code! I try the shortcut ctrl+K but it add the first 4 spaces and nothing else! If I try to indent this code, for example:  String buf; if(buf!=null) buf="buf isn't null"; else buf="buf is null";   If I selected all rows and press ctrl+K all rows are shifted to right by 4 spaces and the check returns an error because the rows 3 and 5 aren't indentent correctly and now there is the problem... if I select lines 3 and 5 and press ctrl+K again, the editor deletes the 4 spaces!  My question is: why don't you implement an HTML tag (something like &lt;bad code&gt;) that skips the control and, the negative thing, add a "bad reputation" to the author? I don't ask a workaround, but I can't lose 3 hours (yesterday I lost this time) for a question that already I can't post because the code is blocked! Another suggestion: could we be to able ask a moderator to add that bad reputation if he/she see the author never indent his/her code or remove the "bad reputation" if he/she see the author try to indent the code but it isn't indent perfectly! What do you think about it?  P.S.: This post is caused by the frustration that I have because from yesterday to today I can't insert a question on stack overflow because my code isn't indented correctly... If you should see how many times I try to fix it tou could understand my frustration!  P.S.2: can you implement the tag title on your toolbar icon? It could help me to use it.  @Hammar: ok, I write here what I think should be the correct code:     String buf;     if(buf!=null)         buf="buf is not null";     else         buf="buf is null"; ...  There are some errors to this code?  Ok, now I understand that the error wasn't where I thought (or better it COULD be in another place) so my new suggestion is: why don't you create a function that insert a tag for delimited where is the error? I not that you already change the post (for example deleting the initial phrase: "Hello all,") but i don't know how you do the check so I don't know if it is possible!  Ok, now I inset the question that caused this post and my frustration, the question is this:    and I resolve the check adding 4 space around all "suspected" code and adding some empty line... Tell me if it is better change the title for only the last suggestion or is better keep all things for, in the future, understand why and what I asked...
47649
When I post a question and want to add a new line, I have to press Return two times, or else the next text will appear on the same line.  Is this really supposed to behave this way? If so, why?
67036
I was wondering what kind of restrictions there are, if any, for code posted on StackOverflow?  In other words, I'm hoping StackOverflow has a clause that makes any posted code completely free of restrictions for reuse? (Both questions and answers).
92699
Instead of asking a question I would love to share the one or other code snippet I have created that is too small to make a full article on e.g. CodeProject.com or CodePlex.com.  Question: Would it be a good idea to post it as a Stack Overflow question? Or are there any other suggestions how to share it?  (Of course I could post it on my own weblog and then twitter about it, but I would love to put it in more of a programming context)
753
Sometimes, I'm getting as an input tab separated list, which is not quite aligned, for instance  var1  var2  var3 var_with_long_name_which_ruins_alignment  var2 var3   Is there an easy way to render them aligned?  var1                                      var2  var3 var_with_long_name_which_ruins_alignment  var2  var3
98356
The first post I've seen this on is .        Note how the text in the comments runs off the right hand side of the page.  This seems to be due to the programmers.SE link in one of the comments, and might need some break-word styling...  What makes this even more of a problem is that the page is fixed to the width of my screen, so I can't scroll horizontally to get the rest of the comments.