Why SQL prompt stopped overwriting old snippets?
sumeet
Posts: 4 New member
in SQL Prompt
I save the snippets with older names and instead of overwriting the old ones, it is just creating new snippets with the same name.
Now when I want to use the snippet it would just show me same name but different query snippets.
Please help!
#Overwriting_old_snippet_is_not_working
Now when I want to use the snippet it would just show me same name but different query snippets.
Please help!
#Overwriting_old_snippet_is_not_working
Tagged:
Answers
Dan Jary | Redgate Software
Have you visited our Help Center?
I have Version 10.6.6.18829
Dan Jary | Redgate Software
Have you visited our Help Center?
Yes old snippets were created in the prior version, and I see all snippets' file type is JSON File.
I have updated the SQL Prompt so I have the newer version 10.6.9.19.437 and the issue is still there.
I do see the alert of "Do you want to overwrite the existing snippet 'name'?
example screenshot below:
Dan Jary | Redgate Software
Have you visited our Help Center?
I had a number of old xml snippets that seem to have been converted to JSON format but there was a folder in my snippets folder called "backup" that contains all the old snippets in the SQLPRIMPTSNIPPET file format. I moved the backup folder out of my snippets folder and am still encountering the same issue.
This problem also occurs when creating brand new snippets and then trying to overwrite the newly created snippet.
First I created a snippet called test:
Then I changed the body called and got a separate snippet file:
I then saved this snippet again without changing the body and go a third new snippet:
I followed the guide that you shared and I don't see the "StylesV2-backup" as shown in the #3.
Should I follow the next steps only with the Styles folder instead?
Thank you for trying to help
Dan Jary | Redgate Software
Have you visited our Help Center?