Timeline for Code block tools
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:25 | history | edited | CommunityBot |
replaced http://stackapps.com/ with https://stackapps.com/
|
|
Mar 8, 2013 at 10:46 | comment | added | Salvatorelab | uploading a zip is too much. I'm thinking of questions where you have to post a complete Java class for example, or even two. Or add a XML file. Showing the code in the question is ok as it limits the problem to a few files/classes and allows readers to imagine the "magnitude" of the problem while a zip file is more opaque. But showing the code inside big divs is not smart, it is hard to see the whole question or copy the code. | |
Mar 7, 2013 at 17:24 | comment | added | blahdiblah | @TheBronx Collapse/expand buttons probably wouldn't encourage huge code dumps as much as select all/copy, but if the code isn't actually meant to be read on SO then the best solution would still seem to be including it in zip file or similar that can get it into Eclipse in the least painful way possible. | |
Mar 7, 2013 at 8:50 | comment | added | Salvatorelab |
encourage? I don't think reducing the max-height of code blocks will encourage posting significant amounts of code. It is just a CSS modification so that questions/answers that have a lot of code don't take all the screen. In my opinion SSCCE's are not expected to be read (you can read them in Eclipse for example) so they should be a little bit hidden. But if you still want to read them in the page, a "expand" button won't hurt.
|
|
Mar 7, 2013 at 1:21 | history | answered | blahdiblah | CC BY-SA 3.0 |