CodeSmith Community
Your Code. Your Way. Faster!

ActiveSnippents using property window

Latest post 06-26-2007 11:25 AM by Greg McGuffey. 2 replies.
  • 06-25-2007 9:41 PM

    ActiveSnippents using property window

    I'm wondering if there is any way to use a normal property window when inserting an ActiveSnippet into VS?

    I just wrote a template that uses the StringCollection as one of the properties (to list variables used by a method). I'm not sure how to put that as a parameters and also now sure that I'd want to.  I'd really just like the property window to pop up so I could enter it there. 

    Am I missing something or any ideas?

     Thanks!

     

    Filed under:
    • Post Points: 35
  • 06-25-2007 9:53 PM In reply to

    • ejsmith
    • Top 10 Contributor
    • Joined on 12-27-2002
    • Dallas, TX USA
    • Posts 2,197
    • Points 922,380

    RE: ActiveSnippents using property window

    You can do that by dragging the template onto the editor fromthe Template Explorer window instead of using an ActiveSnippet.  Just drag itover and drop it and it will pop up the property grid to enter the propertyvalues.

    Eric J. Smith
    CodeSmith Tools, LLC
    Chief Software Architect

    • Post Points: 35
  • 06-26-2007 11:25 AM In reply to

    Re: RE: ActiveSnippents using property window

    Thanks! I'll try that. 

    • Post Points: 5
Page 1 of 1 (3 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems