Skip to main content

Unanswered Questions

143 questions with no upvoted or accepted answers
27 votes
0 answers
346 views

Are there any built-in resources that you can link to from within question to use in a code snippet on the Stack Overflow domain?

I answered this question, which asks how to be able to start/stop an audio clip on mouse enter/leave. I came back to it while later after seeing the new runnable code snippets and wanted to play ...
25 votes
0 answers
273 views

Snippet Editor gets out of sync scrolling and gets very difficult to use

Generate a 1000 lines and paste it into the JavaScript area of a snippet I just opened the JavaScript console and typed a = []; for (var i = 0; i < 1000; ++i) {a.push("line:" + i); } console.log(...
24 votes
0 answers
253 views

'run code snippet' buttons misaligned

I was looking at an answer that had a 'run code snippet' section, and the buttons below it look misaligned - the 'copy snippet to answer' button is higher than the 'run code snippet' button by 1 pixel....
23 votes
0 answers
176 views

Visually group code and snippet icons, and clarify which one to use

Could we please revamp the editing toolbar to make it easier to use the correct code formatting tool? In case you are not in the editor right now, here's what the toolbar currently looks like: ...
22 votes
0 answers
467 views

"Show code snippet" chevron is underlined

Links in posts on Meta are given a bottom border: .wmd-preview a, .post-text a, .comment-copy a { border-bottom: 1px dotted #444; } This results in the chevron next to "Show code snippet" also ...
21 votes
0 answers
325 views

Hidden Stack Snippets are not accessible and violate web standards

I noticed recently in a question about accessibility, that a snippet I included (marked as hidden by default; as it includes more details then strictly necessary for the question) is not very ...
20 votes
0 answers
622 views

When is it inappropriate to use a code snippet?

I've created answers that contain a runnable code snippet to provide a convenient method for readers to view a demo of my answer's solution. For instance: In my opinion, this answer: highlights ...
19 votes
0 answers
229 views

Please make the font and color settings in the snippet editor match the result in the question's code block

I only noticed today that there is mismatch between the display in the StackSnippet editor: and the resulting HTML in the code block in the question: First of all, the color coding is different, and ...
19 votes
0 answers
388 views

Inform the users about the existence of stack snippet while requesting external demos in comments

I love stack snippets. It makes it a lot easier to play with the OP's problem and post an answer with a working demo. I've been seeing a LOT of users STILL requesting for an external demo along the ...
17 votes
0 answers
307 views

Add a means for tab stacking code snippets

The vast majority of questions on Stack Overflow come with a specific language tag and no post in the tag will contain any language other than that specified language. However, for some questions are ...
14 votes
0 answers
203 views

Snippets comments are incorrectly parsed inside code blocks producing strange output

I was editing the following question, as the code blocks needed indenting, and noticed there was an problem with the html comments. Post: setOnItemClickListener for listview Here is the code I had ...
14 votes
0 answers
286 views

Edits from different tabs being added as new answers

Very weird things happened today: I saw a question, which can be answered better with a demo. So I opened a new jsFiddle window (see at the bottom why). I added some CSS, made a demo in jsFiddle and ...
14 votes
0 answers
275 views

Add a "run" option next to "show" for hidden snippets

Title pretty much says it. My current choices are either to show the snippet and have a run button, or to hide it and not have a run button. Sometimes, you're just changing a single line of code but ...
14 votes
0 answers
123 views

Consider changing StackSnippets icon image

It just doesn't seem to match the rest of the icons in the editor: It almost looks like an icon that was created a decade ago. Could we use something more that signifies a script...Something more ...
13 votes
0 answers
276 views

Do we really need to validate "file" extensions for externals in the code snippet editor?

As we all know, "file"-suffixes are effectively meaningless w.r.t. HTTP URLs. The type of the resource is determined by the Content-Type header, not its path-suffix. So, I tried to add the following ...

15 30 50 per page
1
2
3 4 5
10