Live template using clipboard contents for template?

Hi all,

Here's what I'd like to do in a live template.

I'd like to create a template with a single variable such as $fieldname$, and then when I activate it I'd like to supply a comma delimited list of replacement values and have it generate a section of code for each one of those values in the comma delimited list.

Example:
My template is <asp:TextBox ID="$fieldname$" runat="server">

If I activate it and enter Name,Age,Sex then it duplicates the template 3 times, using each value in the place of $fieldname$.

Is this possible?

1 comment
Comment actions Permalink

Hi Richard,

Unfortunately, it is not possible at the moment. Though, it is a nice feature request and you are welcome to log it here in YouTrack: http://youtrack.jetbrains.com/issues/RSRP

Thank you for the suggestion!

0

Please sign in to leave a comment.