I imagine anyone else that either already knows SO well or uses it for specific language domains, such as C/C++ only already knows the best formatting to use to produce questions and answers that don't get shouted at/flagged.
#Python text editor stack overflow code#
I didn't even know the Code Snippets functionality existed! (I'd mostly forgotten about the Code Sample button as well)īut then my main language of choice is C, and I use tabs not spaces in my IDE so I usually mock up a MRE in my head and type it directly in the question box, adding in 4-space indents as I go. If you add this feature, make it warn the first few times that the OP is probably failing the "minimal" part of MCVE, probably on all sites but codereview. Thus, highlighting for them should be independent of each other. While most MCVEs should belong in a single file, there are rare circumstances multiple languages / headers / whatever cause problems.
![python text editor stack overflow python text editor stack overflow](https://i.stack.imgur.com/Jrc6C.png)
Warning when snippet mark-up is used on posts not tagged with.Replace code snippets by normal code block if JavaScript tag is absent.Should it be more obvious that stack snippets are only meant for HTML/CSS/JS?.Improve tooltip and positioning of code sample/snippet buttons.You probably also know that Stack Snippets are routinely misused for questions that have nothing to do with HTML, CSS, or JS: "JavaScript/HTML/CSS Snippets"), which we introduced almost a year ago. You probably all know about Stack Snippets (a.k.a.