Following this link I have a set of code snippets.
But the snippet insertion has to be w.r.t the context, viz. if I do 'Insert Snippet' before declaring a class, it shouldn't show 'method declaration' snippet. Also required is to filter snippets as per managed or unmanaged code.
In short I am looking for a mechanism as follows:
if <condition>
{
modify list of snippets visible in the menu
}
Do we have such a mechanism or something similar? Ideas welcome.