Bug #19839 Forge Snippets: please add download button
Submitted: 16 May 2006 3:12 Modified: 29 Jun 2006 3:19
Reporter: Colin Charles Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Websites: MySQLForge Severity:S4 (Feature request)
Version: OS:
Assigned to: Jay Pipes CPU Architecture:Any

[16 May 2006 3:12] Colin Charles
Description:
Could we have a "download snippet" link in the MySQL Forge snippets
section? Now, I copy and paste the snippets, but it's a bit of a
bummer that this loses all the newlines. A "download" link should
solve all that I think.

Kind Regards,

Roland Bouman.

How to repeat:
at forge snippets, a "download snippets" link.
[27 Jun 2006 3:45] Jay Pipes
New tabbed interface implemented for snippets.  Includes a tab for "download", which for right now is simply a textarea with the original source code, for easy copy/paste
[28 Jun 2006 7:51] Lenz Grimmer
Thanks a ton, Jay! I am reopening this one, however: would it be possible to add an actual "download" button that would send the snippet as a plain text file to the browser? A cut and paste textarea is nice to have and I would not remove it, but a plain "download this" button would be helpful, too (think about tabbing, for example - C&P tends to mess with that)
[29 Jun 2006 3:19] Jay Pipes
OK, there is a now a download link which gets the source code text in a separate page.  Also, changed tab title to Copy/Download to better reflect the tab's content.