Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 200291

For posts about making code appear correctly in questions, answers and their comments.

14 votes

How do I post a code example if I don't know which file the problem is in?

It’s not always particularly easy to do, but we expect you to try to strip down your code to the minimal amount necessary to demonstrate the problem, in a short, self-contained, compilable example. H …
icktoofay's user avatar
  • 129k
6 votes

Is it good to minify and format JavaScript for SO questions?

No; code should be left in its original, uncompressed form, although perhaps with excessive newlines (as in the first block) removed. Besides plain readability (to me; I understand it's subjective), …
icktoofay's user avatar
  • 129k
4 votes

Auto-unindentation for code blocks

No, not automatically, and definitely not in some tags. Say someone posted a Python question with this code: def reverse_string(s): return s[::-1] All subsequent lines are indented past the fi …
icktoofay's user avatar
  • 129k
3 votes
Accepted

XML not displayed correctly in answers

Not a bug. Indenting after a list continues more paragraphs in the same list item: A paragraph. Another paragraph in the same item. Another item. If you want to put a code block in a list item, …
icktoofay's user avatar
  • 129k