The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Operation: Expansion -- Success

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jeff Key

Posts: 481
Nickname: jeffreykey
Registered: Nov, 2003

Jeff Key is legally sane, but questionably competent.
Operation: Expansion -- Success Posted: Nov 8, 2003 1:53 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Jeff Key.
Original Post: Operation: Expansion -- Success
Feed Title: Jeff Key
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/jkey/Rss.aspx
Feed Description: Topics revolve around .NET and the Windows platform.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Jeff Key
Latest Posts From Jeff Key

Advertisement

I finally had a few minutes to play around with the VS.NET Whidbey expansion file.  After following Jay's advice, I came up with one that works.  If anyone else feels like making more and posting them there here, I'll make a permanent archive of them.

Here it is, in all it's glory:  A generic List template.

<ExStencil>
    <header>
        <title>Generic List</title>
        <shortcut>list</shortcut>
        <description>Generate generic List variable and object.</description>
        <category>Expansion</category>
    </header>
    <snippet>
        <declarations>
            <literal default="true">
                <id>type</id>
                <tooltip>List type</tooltip>
                <default>int</default>
            </literal>
            <literal>
                <id>var</id>
                <tooltip>The variable</tooltip>
                <default>myVar</default>
            </literal>
        </declarations>
        <code language="csharp">
        <![CDATA[List<$type$> $var$ = new List<$type$>();
    $end$]]>
    </code>
    </snippet>
</ExStencil>

Read: Operation: Expansion -- Success

Topic: Reflector lives...(again) Previous Topic   Next Topic Topic: ANN:

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use