Bug #67085 Saving a code snippet is not prompting for a name
Submitted: 4 Oct 2012 17:49 Modified: 22 Sep 2014 16:41
Reporter: Vincent Wansink Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.43/5.2.44 OS:Microsoft Windows (Microsoft Windows Server 2008 R2 Standard Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[4 Oct 2012 17:49] Vincent Wansink
When I click the button to save a code snippet it saves the snippet but does not prompt me for a name.  Also there does not seem to be any way to rename existing snippets.  In older versions of MySQL Workbench a name prompt dialogue would pop up as soon as I saved the snippet. 

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.43  revision 9869
Configuration Directory: C:\Users\vincentwansink\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.43
Cairo Version: 1.8.8
OS: Microsoft Windows Server 2008 R2 Standard Edition Service Pack 1 (build 7601), 64-bit
CPU: 4x Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3.9 GiB RAM
Current user language: English (United States)

How to repeat:
Write some code in a SQL Editor.  Click the save snippet button (Star with plus sign) in the snippets tab.  If you're like me you will not get prompted to name your snippet.
[4 Oct 2012 23:01] MySQL Verification Team
Thank you for the bug report.
[12 Oct 2012 21:31] sgal gal
You need to double click the icon with the star and "sql" then click edit. It will allow you to edit the code and also give the snippet a name.
[22 Sep 2014 16:41] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.2.4 release, and here's the changelog entry:

Adding an SQL snippet now opens the snippet editor, when before it
immediately added the snippet without a title or code review.

Thank you for the bug report.