Linked Questions

-1 votes
1 answer
5k views

SO should automatically indent code [duplicate]

When I post an answer / question and I wanted to include code, I always have to press space 4 times. And when I press ENTER, I have to press space 4 times again. That is just annoying. I really want ...
Sweeper's user avatar
  • 266k
0 votes
0 answers
58 views

Editing posts containing code [duplicate]

Majority of the posts that are posted on SO contain code samples/snippets. Some of the code snippets are pretty lengthy. And users do not format the code properly. They require to be edited later like ...
Abhishek's user avatar
  • 2,945
168 votes
10 answers
3k views

Stack Snippets being misused

Not long after the general introduction of Stack Snippets, there are already some posts that use them wrongly. Today I came across a question with a stack-snippet containing CasperJS code which is ...
Artjom B.'s user avatar
  • 61.8k
287 votes
5 answers
3k views

Markdown editor indent and outdent functionality

No tab key support It has been a while for me here on Stack Overflow, and from the beginning of my experience I've noticed something which still leaves a bad taste in my mouth when I create and edit ...
Marco Bonelli's user avatar
132 votes
4 answers
2k views

People should get notified when answers to their questions are edited

I really think this is a good idea. I think there would be situations where a person asks a question, gets an answer and say "Oh that doesn't really help. I am gonna ignore that". But then ...
Sweeper's user avatar
  • 266k
50 votes
3 answers
791 views

Should questions with unnecessary Stack Snippets be edited?

Just looking at this question. I've seen a few questions in this format lately where new(er) users are using code snippets to format their questions rather than the traditional four space method. ...
John C's user avatar
  • 3,102
50 votes
3 answers
1k views

"JavaScript snippet"? But I use it for HTML and CSS as well!

Following on from various Meta posts about code snippets being misused (like this one and this other one), a few days ago the Code Snippet WYSIWYG button's title was changed from "Code snippet" to "...
James Donnelly's user avatar
52 votes
3 answers
1k views

Stack Snippets and non-runnable code

Since the introduction of Stack Snippets, I've noticed them showing up frequently with non-runnable code. (I spend most of my time on the google-apps-script tag, which is a server-side js variant. I ...
Mogsdad's user avatar
  • 45.7k
129 votes
1 answer
1k views

Should it be more obvious that stack snippets are only meant for HTML/CSS/JS?

Sometimes I see questions like one, two and three where a user unfamiliar with stack snippets pastes their C or C++ code into the stack snippet box. Now admittedly this doesn't happen very often, but ...
user avatar
155 votes
1 answer
2k views

Collapsible Code Markup

Background When answering questions on SO I generally like to ensure that my code is runnable by including sample data, so someone can copy, paste, and run it, seeing exactly what I'd proposed. ...
JohnLBevan's user avatar
  • 24.3k
35 votes
1 answer
301 views

Warning when snippet mark-up is used on posts not tagged with <...>

I've seen many questions where Java, SQL, etc. code was marked up using a snippet tool. In such cases we are presented with a more cluttered screen for no benefit at all. Since currently only HTML/...
PM 77-1's user avatar
  • 13.3k
-5 votes
2 answers
110 views

Integrate a real time code syntax tester

I wonder what your opinion is on the idea of integrating some kind of code syntax tester. This would greatly help in preventing syntax errors when we write code for a specific question.
MatCas's user avatar
  • 833
55 votes
0 answers
646 views

Could we update the link to the supported prettify language codes?

I've hit this for a few times and it's quite misleading. If you go to the Markdown help, there's this quote; please follow the link (which I made bold in this quote): You can use either one of the ...
TLama's user avatar
  • 76.5k
12 votes
2 answers
271 views

Option to format/beautify code, or automatically do so

Many of my edits on Stack Overflow are merely formatting improvements. Adding newlines and indents is what I do at night. However, I wonder if it's possible to automate the process. Especially people ...
Bram Vanroy's user avatar
  • 28.4k
61 votes
0 answers
450 views

Replace code snippets by normal code block if JavaScript tag is absent

Some users (probably mostly new users) tend to use the "code snippet" tool for code in languages that aren't supported by Stack Snippets. Would it not make sense to disable the code snippets ...
assylias's user avatar
  • 328k

15 30 50 per page