Posted 16 years ago
by Matt Whitfield

It might be good to be able to attach code snippets to intelliprompt member list items
For example - if I'm expanding DECLARE @variable then I prompt with a list of data types. What would be good is it after that list I could put up a code snippet which allowed the type parameters to be specified (e.g. DECLARE @variable [decimal] (|precision|, |scale|) ).
I am sure this is probably possible with the object model as is (if so - what would be your recommendation on how to do that?) - but if it were possible to effectively set an 'autocompletepostsnippet' member on intellipromptmemberlistitem then that might be the most elegant way of handling it?
Just a thought...
For example - if I'm expanding DECLARE @variable then I prompt with a list of data types. What would be good is it after that list I could put up a code snippet which allowed the type parameters to be specified (e.g. DECLARE @variable [decimal] (|precision|, |scale|) ).
I am sure this is probably possible with the object model as is (if so - what would be your recommendation on how to do that?) - but if it were possible to effectively set an 'autocompletepostsnippet' member on intellipromptmemberlistitem then that might be the most elegant way of handling it?
Just a thought...