Programmatically adding snippets
dan67890
Posts: 21
I want to add snippets programatically, i.e. write a script to generate the snippets. The format of the snippet files doesn't seem to be documented, but it looks fairly easy to figure out but I have a few questions about it.
What is the purpose of the <declarations> tag?
What kinds of SnippetTypes are there, I only see Expansion?
Exactly where should I put the snippet files I generate?
Thanks,
Dan
What is the purpose of the <declarations> tag?
What kinds of SnippetTypes are there, I only see Expansion?
Exactly where should I put the snippet files I generate?
Thanks,
Dan
Comments
But we are collecting the required details and I will come back to you soon on this.
Many thanks for your patience!
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Following is our explanation:
What is the purpose of the <declarations> tag?
This is for future improvements. It does not have any value now.
What kinds of SnippetTypes are there, I only see Expansion?
This is for future improvements. It does not have any value now.
Exactly where should I put the snippet files I generate?â€
C:\Users\<username>\AppData\Local\Red Gate\SQL Prompt 4 (win 7/vista)
C:\Documents and Settings\<username>\Local Settings\Application Data\Red Gate\SQL Prompt 4 (Win xp)
Kindly let me know if you have any issues with this
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com