Posted 19 years ago
by tobias weltner
Code Snippets are great!
However, I did not find a way to create a new snippet entirely without XML, just by using the object model.
I can create a new CodeSnippet instance, but important pieces such as declarations seem to be read-only collections. I cannot for example create a new CodeSnippetDeclaration instance to add it to the snippet.
Am I doing something wrong here, or is this currently not supported?
Other than that, Code Snippets work beautifully for me. Great addition!
However, I did not find a way to create a new snippet entirely without XML, just by using the object model.
I can create a new CodeSnippet instance, but important pieces such as declarations seem to be read-only collections. I cannot for example create a new CodeSnippetDeclaration instance to add it to the snippet.
Am I doing something wrong here, or is this currently not supported?
Other than that, Code Snippets work beautifully for me. Great addition!